summaryrefslogtreecommitdiff
path: root/src/thread/pthread_rwlock_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_rwlock_init.c')
-rw-r--r--src/thread/pthread_rwlock_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_rwlock_init.c b/src/thread/pthread_rwlock_init.c
index f87d566c..29003bc6 100644
--- a/src/thread/pthread_rwlock_init.c
+++ b/src/thread/pthread_rwlock_init.c
@@ -1,6 +1,6 @@
#include "pthread_impl.h"
-int pthread_rwlock_init(pthread_rwlock_t *rw, const pthread_rwlockattr_t *a)
+int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a)
{
memset(rw, 0, sizeof *rw);
if (a) {