use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / signal / sigtimedwait.c
index f62db2f..4f8589b 100644 (file)
@@ -3,7 +3,7 @@
 #include "syscall.h"
 #include "libc.h"
 
-int sigtimedwait(const sigset_t *mask, siginfo_t *si, const struct timespec *timeout)
+int sigtimedwait(const sigset_t *restrict mask, siginfo_t *restrict si, const struct timespec *restrict timeout)
 {
        int ret;
        do ret = syscall_cp(SYS_rt_sigtimedwait, mask,