use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_mutexattr_gettype.c
index 9edb16c..7688b06 100644 (file)
@@ -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;