use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_mutexattr_getpshared.c
index 3e0438b..e7340b1 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_mutexattr_getpshared(const pthread_mutexattr_t *a, int *pshared)
+int pthread_mutexattr_getpshared(const pthread_mutexattr_t *restrict a, int *restrict pshared)
 {
        *pshared = *a>>31;
        return 0;