summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-25 16:27:39 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-25 16:27:39 +0000
commit873228f50b0a83833e0f498010ffe3dcc75a9258 (patch)
treef2a6246f33541c86f1395196dd98e533757cc2c4 /libc
parent5fefc2d24a19675e9b7cce654ec06022de2738ba (diff)
- hide locks
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_mutex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_mutex.h b/libc/sysdeps/linux/common/bits/uClibc_mutex.h
index 14aeb9c80..5edcfac20 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_mutex.h
+++ b/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))