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