diff options
Diffstat (limited to 'nptl/pthread_rwlock_destroy.c')
-rw-r--r-- | nptl/pthread_rwlock_destroy.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/nptl/pthread_rwlock_destroy.c b/nptl/pthread_rwlock_destroy.c index 2772569..ebedf29 100644 --- a/nptl/pthread_rwlock_destroy.c +++ b/nptl/pthread_rwlock_destroy.c @@ -18,14 +18,24 @@ #include "pthreadP.h" #include <stap-probe.h> - +#include <shlib-compat.h> int -__pthread_rwlock_destroy (pthread_rwlock_t *rwlock) +___pthread_rwlock_destroy (pthread_rwlock_t *rwlock) { LIBC_PROBE (rwlock_destroy, 1, rwlock); /* Nothing to be done. For now. */ return 0; } -strong_alias (__pthread_rwlock_destroy, pthread_rwlock_destroy) +versioned_symbol (libc, ___pthread_rwlock_destroy, pthread_rwlock_destroy, + GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34) +compat_symbol (libpthread, ___pthread_rwlock_destroy, pthread_rwlock_destroy, + GLIBC_2_1); +#endif +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, ___pthread_rwlock_destroy, __pthread_rwlock_destroy, + GLIBC_2_2); +#endif |