use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / signal / sigwait.c
index 9569d6b..48a855b 100644 (file)
@@ -1,7 +1,7 @@
 #include <signal.h>
 #include <stddef.h>
 
-int sigwait(const sigset_t *mask, int *sig)
+int sigwait(const sigset_t *restrict mask, int *restrict sig)
 {
        siginfo_t si;
        if (sigtimedwait(mask, &si, NULL) < 0)