summaryrefslogtreecommitdiff
path: root/src/thread/pthread_rwlockattr_getpshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_rwlockattr_getpshared.c')
-rw-r--r--src/thread/pthread_rwlockattr_getpshared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_rwlockattr_getpshared.c b/src/thread/pthread_rwlockattr_getpshared.c
index 0217bf4e..02fd8c80 100644
--- a/src/thread/pthread_rwlockattr_getpshared.c
+++ b/src/thread/pthread_rwlockattr_getpshared.c
@@ -1,6 +1,6 @@
#include "pthread_impl.h"
-int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *a, int *pshared)
+int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *restrict a, int *restrict pshared)
{
*pshared = *(int *)a;
return 0;