소스 검색

- hide locks

Bernhard Reutner-Fischer 15 년 전
부모
커밋
873228f50b
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      libc/sysdeps/linux/common/bits/uClibc_mutex.h

+ 3 - 3
libc/sysdeps/linux/common/bits/uClibc_mutex.h

@@ -18,9 +18,9 @@
 #define __UCLIBC_MUTEX_TYPE				pthread_mutex_t
 
 #define __UCLIBC_MUTEX(M)				pthread_mutex_t M
-#define __UCLIBC_MUTEX_INIT(M,I)			pthread_mutex_t M = I
-#define __UCLIBC_MUTEX_STATIC(M,I)			static pthread_mutex_t M = I
-#define __UCLIBC_MUTEX_EXTERN(M)			extern pthread_mutex_t M
+#define __UCLIBC_MUTEX_INIT(M,I)		pthread_mutex_t M = I
+#define __UCLIBC_MUTEX_STATIC(M,I)		static pthread_mutex_t M = I
+#define __UCLIBC_MUTEX_EXTERN(M)		extern pthread_mutex_t M attribute_hidden
 
 #define __UCLIBC_MUTEX_LOCK_CANCEL_UNSAFE(M)								\
 		__pthread_mutex_lock(&(M))