about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 00:49:53 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 13:06:35 +0100
commit0093df204ad5858a81cbefaaa091770071ee710b (patch)
tree1b4224ab9b6b9e9bb60d522420bf31c40c353c3f
parentf6233ab412c3bebebacf65745e775e01506dd58d (diff)
downloadglibc-0093df204ad5858a81cbefaaa091770071ee710b.tar.gz
glibc-0093df204ad5858a81cbefaaa091770071ee710b.tar.xz
glibc-0093df204ad5858a81cbefaaa091770071ee710b.zip
htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE
Their prototypes have never been made public, and they are not used outside
libc (checked on the whole Debian archive)
-rw-r--r--htl/Versions8
-rw-r--r--sysdeps/mach/hurd/i386/libpthread.abilist7
2 files changed, 4 insertions, 11 deletions
diff --git a/htl/Versions b/htl/Versions
index 8e0007d77c..8df40c7af7 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -36,10 +36,6 @@ libpthread {
 
     __pthread_mutex_transfer_np;
 
-    _pthread_mutex_destroy; _pthread_mutex_init;
-    _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
-    _pthread_rwlock_destroy; _pthread_rwlock_init;
-
     _cthread_init_routine;
 
     cthread_detach;
@@ -154,5 +150,9 @@ libpthread {
     __pthread_getattr_np;
     __pthread_attr_getstack;
     __pthread_mutex_timedlock;
+
+    _pthread_mutex_destroy; _pthread_mutex_init;
+    _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
+    _pthread_rwlock_destroy; _pthread_rwlock_init;
   }
 }
diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist
index 0ede90859c..14ef22e3db 100644
--- a/sysdeps/mach/hurd/i386/libpthread.abilist
+++ b/sysdeps/mach/hurd/i386/libpthread.abilist
@@ -14,13 +14,6 @@ GLIBC_2.12 _cthread_init_routine D 0x4
 GLIBC_2.12 _cthreads_flockfile F
 GLIBC_2.12 _cthreads_ftrylockfile F
 GLIBC_2.12 _cthreads_funlockfile F
-GLIBC_2.12 _pthread_mutex_destroy F
-GLIBC_2.12 _pthread_mutex_init F
-GLIBC_2.12 _pthread_mutex_lock F
-GLIBC_2.12 _pthread_mutex_trylock F
-GLIBC_2.12 _pthread_mutex_unlock F
-GLIBC_2.12 _pthread_rwlock_destroy F
-GLIBC_2.12 _pthread_rwlock_init F
 GLIBC_2.12 _pthread_spin_lock F
 GLIBC_2.12 cthread_detach F
 GLIBC_2.12 cthread_fork F