aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-01-03 12:37:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-29 02:32:36 +0100
commite892a930736ba8f3c19a47dc0f46fec87da38313 (patch)
treea73bbbe667ddb0e5157b576ee2c37b70903f3302 /sysdeps/htl/pthreadP.h
parent56b25bfd60b736c7e7124b6fdd505a5622531a87 (diff)
downloadglibc-e892a930736ba8f3c19a47dc0f46fec87da38313.tar.xz
glibc-e892a930736ba8f3c19a47dc0f46fec87da38313.zip
htl: move pthread_mutex_init into libc.
Message-ID: <20250103103750.870897-2-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index 58bcd93006..bb17391cb3 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -32,6 +32,7 @@ extern void __pthread_init_static_tls (struct link_map *) attribute_hidden;
/* These represent the interface used by glibc itself. */
extern int __pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__attr);
+libc_hidden_proto (__pthread_mutex_init)
extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
@@ -162,7 +163,6 @@ hidden_proto (__pthread_detach)
hidden_proto (__pthread_key_create)
hidden_proto (__pthread_getspecific)
hidden_proto (__pthread_setspecific)
-hidden_proto (__pthread_mutex_init)
hidden_proto (__pthread_mutex_destroy)
hidden_proto (__pthread_mutex_lock)
hidden_proto (__pthread_mutex_trylock)