mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_mutexattr_destroy into libc
And __pthread_mutexattr_destroy as a compat symbol (so no GLIBC_2.34 symbol version is added for it). The symbols were moved using scripts/move-symbol-to-libc.py.
This commit is contained in:
@@ -17,11 +17,18 @@
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <pthreadP.h>
|
||||
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
__pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
|
||||
___pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
strong_alias (__pthread_mutexattr_destroy, pthread_mutexattr_destroy)
|
||||
versioned_symbol (libc, ___pthread_mutexattr_destroy,
|
||||
pthread_mutexattr_destroy, GLIBC_2_34);
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
|
||||
compat_symbol (libc, ___pthread_mutexattr_destroy,
|
||||
pthread_mutexattr_destroy, GLIBC_2_0);
|
||||
compat_symbol (libc, ___pthread_mutexattr_destroy,
|
||||
__pthread_mutexattr_destroy, GLIBC_2_0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user