about summary refs log tree commit diff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 19:46:25 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 13:56:45 +0100
commite775f443bda95c0ff494879e9ee84d482292ad7e (patch)
tree4ff77e4e78ee840fbdc42c2c64c00d49418b08f2 /sysdeps/htl/pthreadP.h
parent0093df204ad5858a81cbefaaa091770071ee710b (diff)
downloadglibc-e775f443bda95c0ff494879e9ee84d482292ad7e.tar.gz
glibc-e775f443bda95c0ff494879e9ee84d482292ad7e.tar.xz
glibc-e775f443bda95c0ff494879e9ee84d482292ad7e.zip
htl: Rename _pthread_mutex_init/destroy to __pthread_mutex_init/destroy
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index affe7cdf53..c6ddf76fd4 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -27,7 +27,8 @@ extern pthread_t __pthread_self (void);
 extern int __pthread_kill (pthread_t threadid, int signo);
 extern struct __pthread **__pthread_threads;
 
-extern int _pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr);
+extern int __pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__attr);
+extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
 extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
 extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex,
      const struct timespec *__abstime);
@@ -73,7 +74,7 @@ struct __pthread_cancelation_handler **___pthread_get_cleanup_stack (void) attri
 hidden_proto (__pthread_key_create)
 hidden_proto (__pthread_getspecific)
 hidden_proto (__pthread_setspecific)
-hidden_proto (_pthread_mutex_init)
+hidden_proto (__pthread_mutex_init)
 #endif
 
 #define ASSERT_TYPE_SIZE(type, size) 					\