1
0
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:
Florian Weimer
2020-02-10 10:38:37 +01:00
parent ad96df2cd9
commit c1080713ad
3 changed files with 4 additions and 0 deletions

View File

@ -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)