summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_mutex_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/pthread_mutex_lock.c')
-rw-r--r--libpthread/nptl/pthread_mutex_lock.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_mutex_lock.c b/libpthread/nptl/pthread_mutex_lock.c
index 78b66711c..77147dbee 100644
--- a/libpthread/nptl/pthread_mutex_lock.c
+++ b/libpthread/nptl/pthread_mutex_lock.c
@@ -42,7 +42,11 @@ static int __pthread_mutex_lock_full (pthread_mutex_t *mutex)
int
+#ifdef NO_INCR
+attribute_hidden internal_function
+#else
attribute_protected
+#endif
__pthread_mutex_lock (
pthread_mutex_t *mutex)
{
@@ -477,7 +481,8 @@ strong_alias (__pthread_mutex_lock, __pthread_mutex_lock_internal)
#ifdef NO_INCR
-void attribute_protected
+void
+attribute_hidden internal_function
__pthread_mutex_cond_lock_adjust (
pthread_mutex_t *mutex)
{