From 0093df204ad5858a81cbefaaa091770071ee710b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 9 Feb 2020 00:49:53 +0100 Subject: 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) --- 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 -- cgit v1.2.3