diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:10:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:18:42 +0200 |
commit | b444409479e34c80f27742e7017ea5741fe548d7 (patch) | |
tree | 787d0d884a8be9f3499ded8831763ab9a393507f /nptl/pthread_rwlockattr_setkind_np.c | |
parent | dbfa12e201529d7006477d192a6f340e696744a1 (diff) | |
download | glibc-b444409479e34c80f27742e7017ea5741fe548d7.zip glibc-b444409479e34c80f27742e7017ea5741fe548d7.tar.gz glibc-b444409479e34c80f27742e7017ea5741fe548d7.tar.bz2 |
nptl: Move pthread_rwlockattr_setkind_np into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/pthread_rwlockattr_setkind_np.c')
-rw-r--r-- | nptl/pthread_rwlockattr_setkind_np.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/pthread_rwlockattr_setkind_np.c b/nptl/pthread_rwlockattr_setkind_np.c index eda7b54..9e13665 100644 --- a/nptl/pthread_rwlockattr_setkind_np.c +++ b/nptl/pthread_rwlockattr_setkind_np.c @@ -18,10 +18,10 @@ #include <errno.h> #include "pthreadP.h" - +#include <shlib-compat.h> int -pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref) +__pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref) { struct pthread_rwlockattr *iattr; @@ -36,3 +36,10 @@ pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref) return 0; } +versioned_symbol (libc, __pthread_rwlockattr_setkind_np, + pthread_rwlockattr_setkind_np, GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34) +compat_symbol (libpthread, __pthread_rwlockattr_setkind_np, + pthread_rwlockattr_setkind_np, GLIBC_2_1); +#endif |