svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
vapier at uclibc.org
vapier at uclibc.org
Thu Dec 29 07:06:09 UTC 2005
Author: vapier
Date: 2005-12-28 23:06:08 -0800 (Wed, 28 Dec 2005)
New Revision: 13006
Log:
hide the internal libc pthread_mutex funcs
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2005-12-29 07:05:08 UTC (rev 13005)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2005-12-29 07:06:08 UTC (rev 13006)
@@ -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 <pthread.h> rather than <bits/uClibc_pthread.h>
+# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
#endif
extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
__const pthread_mutexattr_t *__restrict
- __mutex_attr) __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;
-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;
-
#endif
More information about the uClibc-cvs
mailing list