diff options
Diffstat (limited to 'nptl/pthread_mutexattr_getprotocol.c')
-rw-r--r-- | nptl/pthread_mutexattr_getprotocol.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/pthread_mutexattr_getprotocol.c b/nptl/pthread_mutexattr_getprotocol.c index f970eab854..685f95a84e 100644 --- a/nptl/pthread_mutexattr_getprotocol.c +++ b/nptl/pthread_mutexattr_getprotocol.c @@ -18,10 +18,10 @@ <https://www.gnu.org/licenses/>. */ #include <pthreadP.h> - +#include <shlib-compat.h> int -pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol) +__pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol) { const struct pthread_mutexattr *iattr; @@ -32,3 +32,10 @@ pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol) return 0; } +versioned_symbol (libc, __pthread_mutexattr_getprotocol, + pthread_mutexattr_getprotocol, GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_4, GLIBC_2_34) +compat_symbol (libpthread, __pthread_mutexattr_getprotocol, + pthread_mutexattr_getprotocol, GLIBC_2_4); +#endif |