use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_attr_getguardsize.c
index 71133f8..93ba05d 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getguardsize(const pthread_attr_t *a, size_t *size)
+int pthread_attr_getguardsize(const pthread_attr_t *restrict a, size_t *restrict size)
 {
        *size = a->_a_guardsize + DEFAULT_GUARD_SIZE;
        return 0;