fix various errors in function signatures/prototypes found by nsz
[musl] / src / signal / sigaction.c
index 3d374e1..18956c6 100644 (file)
@@ -35,7 +35,7 @@ int __libc_sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
 
 int __sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
 {
-       if (sig == SIGCANCEL || sig == SIGSYSCALL) {
+       if (sig-32U < 3) {
                errno = EINVAL;
                return -1;
        }