diff options
| author | gfleury <gfleury@disroot.org> | 2025-01-03 12:37:46 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-01-29 02:32:36 +0100 |
| commit | 2ebc2d8e24976ae9779d1d78ba8a1ed9b7b1ded7 (patch) | |
| tree | cc7c81930705da35c289bcf9e8dab504e034918f /sysdeps/htl/libc-lockP.h | |
| parent | e892a930736ba8f3c19a47dc0f46fec87da38313 (diff) | |
| download | glibc-2ebc2d8e24976ae9779d1d78ba8a1ed9b7b1ded7.tar.xz glibc-2ebc2d8e24976ae9779d1d78ba8a1ed9b7b1ded7.zip | |
htl: move pthread_mutex_{lock, unlock, trylock, timedlock, clocklock}
I haven't exposed _pthread_mutex_lock, _pthread_mutex_trylock and
_pthread_mutex_unlock in GLIBC_PRIVATE since there aren't used in any
code in libpthread
Message-ID: <20250103103750.870897-3-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/libc-lockP.h')
| -rw-r--r-- | sysdeps/htl/libc-lockP.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/htl/libc-lockP.h b/sysdeps/htl/libc-lockP.h index 6c13382a21..3d74cd87e9 100644 --- a/sysdeps/htl/libc-lockP.h +++ b/sysdeps/htl/libc-lockP.h @@ -118,9 +118,6 @@ extern int __pthread_atfork (void (*__prepare) (void), #if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread) # ifdef weak_extern weak_extern (__pthread_mutex_destroy) -weak_extern (__pthread_mutex_lock) -weak_extern (__pthread_mutex_trylock) -weak_extern (__pthread_mutex_unlock) weak_extern (__pthread_rwlock_init) weak_extern (__pthread_rwlock_destroy) weak_extern (__pthread_rwlock_rdlock) @@ -137,9 +134,6 @@ weak_extern (__pthread_atfork) weak_extern (__pthread_setcancelstate) # else # pragma weak __pthread_mutex_destroy -# pragma weak __pthread_mutex_lock -# pragma weak __pthread_mutex_trylock -# pragma weak __pthread_mutex_unlock # pragma weak __pthread_rwlock_destroy # pragma weak __pthread_rwlock_rdlock # pragma weak __pthread_rwlock_tryrdlock |
