summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
index 81e6daa56..9a441afea 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
@@ -26,6 +26,7 @@
/* Acquire write lock for RWLOCK. */
int
+attribute_protected
__pthread_rwlock_wrlock (
pthread_rwlock_t *rwlock)
{