about summary refs log tree commit diff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-22 23:36:29 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-22 23:36:29 +0000
commitb758b9cb108f37e65278f4488fad083300022ba7 (patch)
tree4e58e55944d4b0035264c371c6d34588e468b44f /nptl/pthreadP.h
parent0ec2bf3d494e03e00fa0fc6e0d2ca3d6d1b6ac7c (diff)
downloadglibc-b758b9cb108f37e65278f4488fad083300022ba7.tar.gz
glibc-b758b9cb108f37e65278f4488fad083300022ba7.tar.xz
glibc-b758b9cb108f37e65278f4488fad083300022ba7.zip
(__pthread_mutex_init_internal): Mark hidden. (__pthread_mutex_lock_internal): Likewise. (__pthread_mutex_unlock_internal): Likewise. (__pthread_mutex_unlock_usercnt): Declare.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index e10589c11e..be40ce92ea 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -22,6 +22,7 @@
 
 #include <pthread.h>
 #include <setjmp.h>
+#include <stdbool.h>
 #include <sys/syscall.h>
 #include "descr.h"
 #include <tls.h>
@@ -243,16 +244,22 @@ extern int __pthread_setcancelstate (int state, int *oldstate);
 extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
 				 __const pthread_mutexattr_t *__mutexattr);
 extern int __pthread_mutex_init_internal (pthread_mutex_t *__mutex,
-					  __const pthread_mutexattr_t *__mutexattr);
+					  __const pthread_mutexattr_t *__mutexattr)
+     attribute_hidden;
 extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
-extern int __pthread_mutex_destroy_internal (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_destroy_internal (pthread_mutex_t *__mutex)
+     attribute_hidden;
 extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
 extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
-extern int __pthread_mutex_lock_internal (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_lock_internal (pthread_mutex_t *__mutex)
+     attribute_hidden;
 extern int __pthread_mutex_cond_lock (pthread_mutex_t *__mutex)
      attribute_hidden;
 extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
-extern int __pthread_mutex_unlock_internal (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_unlock_internal (pthread_mutex_t *__mutex)
+     attribute_hidden;
+extern int __pthread_mutex_unlock_usercnt (pthread_mutex_t *__mutex,
+					   bool __decr) internal_function;
 extern int __pthread_mutexattr_init (pthread_mutexattr_t *attr);
 extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *attr);
 extern int __pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind);