From bb5b1d9867cc618fe2ee30b42c4650f9254bad2d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 29 Dec 2005 07:06:08 +0000 Subject: hide the internal libc pthread_mutex funcs --- libc/sysdeps/linux/common/bits/uClibc_pthread.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/bits/uClibc_pthread.h b/libc/sysdeps/linux/common/bits/uClibc_pthread.h index b757ef439..a3be2ca35 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_pthread.h +++ b/libc/sysdeps/linux/common/bits/uClibc_pthread.h @@ -16,7 +16,7 @@ * 02111-1307 USA. */ -/* Supply prototypes for the (weak) thread functions used by the +/* Supply prototypes for the internal thread functions used by the * uClibc library code. */ @@ -24,17 +24,14 @@ #define _UCLIBC_PTHREAD_H #ifndef _PTHREAD_H -#error Always include rather than +# error "Always include rather than " #endif extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex, __const pthread_mutexattr_t *__restrict - __mutex_attr) __THROW; - -extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) __THROW; - -extern int __pthread_mutex_lock (pthread_mutex_t *__mutex) __THROW; - -extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex) __THROW; + __mutex_attr) attribute_hidden; +extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) attribute_hidden; +extern int __pthread_mutex_lock (pthread_mutex_t *__mutex) attribute_hidden; +extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex) attribute_hidden; #endif -- cgit v1.2.3