summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-08 03:39:07 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-08 03:39:07 +0000
commite6c29763f13b1c4f1f9b090932c49963edf153c3 (patch)
tree01df13ad6f46df7c5d7b926b5d4c4399862b2fca /libc/sysdeps/linux/common
parent7270c874630a097227a07891dd50bf8baefc3f07 (diff)
this stuff is for uClibc internal use only
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_pthread.h b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
index f247ea673..ab26ae9e8 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_pthread.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
@@ -27,10 +27,12 @@
# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
#endif
+#ifdef _LIBC
extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
__const pthread_mutexattr_t *__restrict __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
#endif