use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / signal / sigaltstack.c
index 550f2f9..62cb81a 100644 (file)
@@ -2,7 +2,7 @@
 #include <errno.h>
 #include "syscall.h"
 
-int sigaltstack(const stack_t *ss, stack_t *old)
+int sigaltstack(const stack_t *restrict ss, stack_t *restrict old)
 {
        if (ss) {
                if (ss->ss_size < MINSIGSTKSZ) {