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