use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / thread / pthread_sigmask.c
index cddc2bc..f6102ad 100644 (file)
@@ -3,7 +3,7 @@
 #include <pthread.h>
 #include "syscall.h"
 
 #include <pthread.h>
 #include "syscall.h"
 
-int pthread_sigmask(int how, const sigset_t *set, sigset_t *old)
+int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old)
 {
        int ret;
        if ((unsigned)how - SIG_BLOCK > 2U) return EINVAL;
 {
        int ret;
        if ((unsigned)how - SIG_BLOCK > 2U) return EINVAL;