mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Add hidden prototypes for __sched_getparam, __sched_getscheduler
This will enable them to be used in libc.so without PLTs. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -27,6 +27,7 @@ __sched_getparam (pid_t pid, struct sched_param *param)
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
libc_hidden_def (__sched_getparam)
|
||||
stub_warning (sched_getparam)
|
||||
|
||||
weak_alias (__sched_getparam, sched_getparam)
|
||||
|
Reference in New Issue
Block a user