use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / signal / setitimer.c
index 3b23758..21b1f45 100644 (file)
@@ -1,7 +1,7 @@
 #include <sys/time.h>
 #include "syscall.h"
 
-int setitimer(int which, const struct itimerval *new, struct itimerval *old)
+int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old)
 {
        return syscall(SYS_setitimer, which, new, old);
 }