diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:10:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:18:16 +0200 |
commit | c96dddd7311e7ffa2a7995de5c2560d9979fd962 (patch) | |
tree | 0aebeb973544f89fd5cbb23e874cb8076b7b6f03 /nptl/Versions | |
parent | e7d2d48e560a2091e2a03c527c333cd7b5618b25 (diff) | |
download | glibc-c96dddd7311e7ffa2a7995de5c2560d9979fd962.tar.gz glibc-c96dddd7311e7ffa2a7995de5c2560d9979fd962.tar.xz glibc-c96dddd7311e7ffa2a7995de5c2560d9979fd962.zip |
nptl: Move pthread_rwlock_tryrdlock into libc
And __pthread_rwlock_tryrdlock as a compatibility symbol. Remove the unused __libc_rwlock_tryrdlock macro. The symbols were moved using scripts/move-symbol-to-libc.py. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/Versions b/nptl/Versions index 98008fd829..97700cfbd3 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -69,6 +69,7 @@ libc { pthread_rwlock_destroy; pthread_rwlock_init; pthread_rwlock_rdlock; + pthread_rwlock_tryrdlock; pthread_rwlock_unlock; pthread_rwlock_wrlock; } @@ -76,6 +77,7 @@ libc { __pthread_rwlock_destroy; __pthread_rwlock_init; __pthread_rwlock_rdlock; + __pthread_rwlock_tryrdlock; __pthread_rwlock_unlock; __pthread_rwlock_wrlock; pthread_condattr_getpshared; @@ -218,6 +220,7 @@ libc { pthread_rwlock_rdlock; pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock; + pthread_rwlock_tryrdlock; pthread_rwlock_unlock; pthread_rwlock_wrlock; pthread_setspecific; @@ -306,7 +309,6 @@ libpthread { pthread_attr_setstacksize; pthread_create; pthread_getconcurrency; - pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; pthread_rwlockattr_destroy; pthread_rwlockattr_getkind_np; @@ -334,7 +336,6 @@ libpthread { } GLIBC_2.2 { - __pthread_rwlock_tryrdlock; __pthread_rwlock_trywrlock; pthread_attr_getstack; pthread_attr_setstack; |