浏览代码

this stuff is for uClibc internal use only

Eric Andersen 18 年之前
父节点
当前提交
e6c29763f1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      libc/sysdeps/linux/common/bits/uClibc_pthread.h

+ 2 - 0
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