use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_attr_getschedparam.c
index 804f6f0..5806bdf 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getschedparam(const pthread_attr_t *a, struct sched_param *param)
+int pthread_attr_getschedparam(const pthread_attr_t *restrict a, struct sched_param *restrict param)
 {
        param->sched_priority = 0;
        return 0;