aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pthread-functions.h
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-01-03 12:37:46 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-29 02:32:36 +0100
commit2ebc2d8e24976ae9779d1d78ba8a1ed9b7b1ded7 (patch)
treecc7c81930705da35c289bcf9e8dab504e034918f /sysdeps/htl/pthread-functions.h
parente892a930736ba8f3c19a47dc0f46fec87da38313 (diff)
downloadglibc-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/pthread-functions.h')
-rw-r--r--sysdeps/htl/pthread-functions.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/htl/pthread-functions.h b/sysdeps/htl/pthread-functions.h
index 54b773344d..c44c9038f3 100644
--- a/sysdeps/htl/pthread-functions.h
+++ b/sysdeps/htl/pthread-functions.h
@@ -23,9 +23,6 @@
void __pthread_exit (void *) __attribute__ ((__noreturn__));
int _pthread_mutex_destroy (pthread_mutex_t *);
-int __pthread_mutex_lock (pthread_mutex_t *);
-int __pthread_mutex_trylock (pthread_mutex_t *);
-int __pthread_mutex_unlock (pthread_mutex_t *);
int __pthread_setcancelstate (int, int *);
int __pthread_setcanceltype (int, int *);
struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void);
@@ -48,9 +45,6 @@ struct pthread_functions
{
void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
- int (*ptr_pthread_mutex_lock) (pthread_mutex_t *);
- int (*ptr_pthread_mutex_trylock) (pthread_mutex_t *);
- int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *);
int (*ptr___pthread_setcancelstate) (int, int *);
int (*ptr_pthread_setcanceltype) (int, int *);
struct __pthread_cancelation_handler **(*ptr___pthread_get_cleanup_stack) (void);