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