diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:42:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:42:51 +0200 |
commit | 4b85c6f55fa9be1b1ff2c5ac67c8dcb63f883789 (patch) | |
tree | da11a95640f57027d7cc53727835b35de55fbbd4 /nptl/pthread_mutex_getprioceiling.c | |
parent | 10624a97e8e47004985740cbb04060a84cfada76 (diff) | |
download | glibc-4b85c6f55fa9be1b1ff2c5ac67c8dcb63f883789.tar.gz glibc-4b85c6f55fa9be1b1ff2c5ac67c8dcb63f883789.tar.xz glibc-4b85c6f55fa9be1b1ff2c5ac67c8dcb63f883789.zip |
nptl: Move pthread_mutex_getprioceiling into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
Diffstat (limited to 'nptl/pthread_mutex_getprioceiling.c')
-rw-r--r-- | nptl/pthread_mutex_getprioceiling.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/pthread_mutex_getprioceiling.c b/nptl/pthread_mutex_getprioceiling.c index 8c0a380f5e..7e4ca7683f 100644 --- a/nptl/pthread_mutex_getprioceiling.c +++ b/nptl/pthread_mutex_getprioceiling.c @@ -19,10 +19,10 @@ #include <errno.h> #include <pthreadP.h> - +#include <shlib-compat.h> int -pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling) +__pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling) { /* See concurrency notes regarding __kind in struct __pthread_mutex_s in sysdeps/nptl/bits/thread-shared-types.h. */ @@ -35,3 +35,10 @@ pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling) return 0; } +versioned_symbol (libc, __pthread_mutex_getprioceiling, + pthread_mutex_getprioceiling, GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_4, GLIBC_2_34) +compat_symbol (libpthread, __pthread_mutex_getprioceiling, + pthread_mutex_getprioceiling, GLIBC_2_4); +#endif |