summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
index dc00f2a08..98840f935 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
@@ -26,6 +26,7 @@
/* Acquire read lock for RWLOCK. */
int
+attribute_protected
__pthread_rwlock_rdlock (
pthread_rwlock_t *rwlock)
{