diff mbox series

[hurd,commited] htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE

Message ID 20200209120713.119273-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE | expand

Commit Message

Samuel Thibault Feb. 9, 2020, 12:07 p.m. UTC
Their prototypes have never been made public, and they are not used outside
libc (checked on the whole Debian archive)
---
 htl/Versions                              | 8 ++++----
 sysdeps/mach/hurd/i386/libpthread.abilist | 7 -------
 2 files changed, 4 insertions(+), 11 deletions(-)
diff mbox series

Patch

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