mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
nptl: Move pthread_rwlockattr_init 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>
This commit is contained in:
@ -17,10 +17,10 @@
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "pthreadP.h"
|
||||
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
|
||||
__pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
|
||||
{
|
||||
ASSERT_TYPE_SIZE (pthread_rwlockattr_t, __SIZEOF_PTHREAD_RWLOCKATTR_T);
|
||||
ASSERT_PTHREAD_INTERNAL_SIZE (pthread_rwlockattr_t,
|
||||
@ -35,3 +35,10 @@ pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
|
||||
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libc, __pthread_rwlockattr_init,
|
||||
pthread_rwlockattr_init, GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_rwlockattr_init,
|
||||
pthread_rwlockattr_init, GLIBC_2_1);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user