commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Samuel Thibault
Subject: [hurd, commited] htl: Move internal mutex/rwlock symbols to GLIBC_PRIVATE
Date: Sun, 9 Feb 2020 13:07:13 +0100

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 --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
-- 
2.24.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]