diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:48:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:51:57 +0200 |
commit | 8a229ee93c17cf5d0aff9ba81a3acfa146f1dae0 (patch) | |
tree | dfbbd845ec25b62352f05927dc1980b9958c05e1 /nptl/pthread_mutexattr_setpshared.c | |
parent | 241ac38c333ae2539182f214dc641d0956f6ff6d (diff) | |
download | glibc-8a229ee93c17cf5d0aff9ba81a3acfa146f1dae0.tar.gz glibc-8a229ee93c17cf5d0aff9ba81a3acfa146f1dae0.tar.xz glibc-8a229ee93c17cf5d0aff9ba81a3acfa146f1dae0.zip |
nptl: Move pthread_mutexattr_setpshared into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
Diffstat (limited to 'nptl/pthread_mutexattr_setpshared.c')
-rw-r--r-- | nptl/pthread_mutexattr_setpshared.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/pthread_mutexattr_setpshared.c b/nptl/pthread_mutexattr_setpshared.c index 8f21594019..f3d52ff9d9 100644 --- a/nptl/pthread_mutexattr_setpshared.c +++ b/nptl/pthread_mutexattr_setpshared.c @@ -19,10 +19,10 @@ #include <errno.h> #include <pthreadP.h> #include <futex-internal.h> - +#include <shlib-compat.h> int -pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared) +__pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared) { struct pthread_mutexattr *iattr; @@ -39,3 +39,10 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared) return 0; } +versioned_symbol (libc, __pthread_mutexattr_setpshared, + pthread_mutexattr_setpshared, GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, __pthread_mutexattr_setpshared, + pthread_mutexattr_setpshared, GLIBC_2_2); +#endif |