diff options
Diffstat (limited to 'nptl/pthread_condattr_setpshared.c')
-rw-r--r-- | nptl/pthread_condattr_setpshared.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl/pthread_condattr_setpshared.c b/nptl/pthread_condattr_setpshared.c index 44c0cc15d9..64b66ccdb0 100644 --- a/nptl/pthread_condattr_setpshared.c +++ b/nptl/pthread_condattr_setpshared.c @@ -19,9 +19,10 @@ #include <errno.h> #include <pthreadP.h> #include <futex-internal.h> +#include <shlib-compat.h> int -pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared) +__pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared) { int err = futex_supports_pshared (pshared); if (err != 0) @@ -33,3 +34,10 @@ pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared) return 0; } +versioned_symbol (libc, __pthread_condattr_setpshared, + pthread_condattr_setpshared, GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, __pthread_condattr_setpshared, + pthread_condattr_setpshared, GLIBC_2_2); +#endif |