diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
commit | 798cacde768c262d3979ba9c5eb224d6837fd92d (patch) | |
tree | 1f460c6e50893de64b3258355fc12e4b7753b62f /nptl/pthreadP.h | |
parent | eb29dcde31e7b6f07e7acda161e85d2be69652e4 (diff) | |
download | glibc-798cacde768c262d3979ba9c5eb224d6837fd92d.tar.gz glibc-798cacde768c262d3979ba9c5eb224d6837fd92d.tar.xz glibc-798cacde768c262d3979ba9c5eb224d6837fd92d.zip |
nptl: Move the internal thread priority protection symbols into libc
This is a prerequisite for moving the mutex implementation. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 2c59a1dc84..5cd5d69c53 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -231,12 +231,16 @@ rtld_hidden_proto (__nptl_set_robust_list_avail) #endif /* Thread Priority Protection. */ -extern int __sched_fifo_min_prio attribute_hidden; -extern int __sched_fifo_max_prio attribute_hidden; -extern void __init_sched_fifo_prio (void) attribute_hidden; -extern int __pthread_tpp_change_priority (int prev_prio, int new_prio) - attribute_hidden; -extern int __pthread_current_priority (void) attribute_hidden; +extern int __sched_fifo_min_prio; +libc_hidden_proto (__sched_fifo_min_prio) +extern int __sched_fifo_max_prio; +libc_hidden_proto (__sched_fifo_max_prio) +extern void __init_sched_fifo_prio (void); +libc_hidden_proto (__init_sched_fifo_prio) +extern int __pthread_tpp_change_priority (int prev_prio, int new_prio); +libc_hidden_proto (__pthread_tpp_change_priority) +extern int __pthread_current_priority (void); +libc_hidden_proto (__pthread_current_priority) /* The library can run in debugging mode where it performs a lot more tests. */ |