mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_mutexattr_setpshared into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user