summaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutexattr_gettype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_mutexattr_gettype.c')
-rw-r--r--src/thread/pthread_mutexattr_gettype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_mutexattr_gettype.c b/src/thread/pthread_mutexattr_gettype.c
index 9edb16c6..7688b068 100644
--- a/src/thread/pthread_mutexattr_gettype.c
+++ b/src/thread/pthread_mutexattr_gettype.c
@@ -1,6 +1,6 @@
#include "pthread_impl.h"
-int pthread_mutexattr_gettype(const pthread_mutexattr_t *a, int *type)
+int pthread_mutexattr_gettype(const pthread_mutexattr_t *restrict a, int *restrict type)
{
*type = *a & 3;
return 0;