summaryrefslogtreecommitdiff
path: root/include/pthread/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r--include/pthread/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index f7e4aae..c821d57 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -521,6 +521,7 @@ extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr,
#include <bits/rwlock.h>
+#define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
/* Create a rwlock object with attributes given by ATTR and strore the
result in *RWLOCK. */
extern int pthread_rwlock_init (pthread_rwlock_t *__restrict rwlock,