OSDN Git Service

this stuff is for uClibc internal use only
authorEric Andersen <andersen@codepoet.org>
Fri, 8 Dec 2006 03:39:07 +0000 (03:39 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 8 Dec 2006 03:39:07 +0000 (03:39 -0000)
libc/sysdeps/linux/common/bits/uClibc_pthread.h

index f247ea6..ab26ae9 100644 (file)
 # 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