diff options
Diffstat (limited to 'src/signal/sigrelse.c')
-rw-r--r-- | src/signal/sigrelse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signal/sigrelse.c b/src/signal/sigrelse.c index 31c1a030..b4c5a00f 100644 --- a/src/signal/sigrelse.c +++ b/src/signal/sigrelse.c @@ -1,5 +1,4 @@ #include <signal.h> -#include <stddef.h> int sigrelse(int sig) { @@ -7,5 +6,5 @@ int sigrelse(int sig) sigemptyset(&mask); if (sigaddset(&mask, sig) < 0) return -1; - return sigprocmask(SIG_UNBLOCK, &mask, NULL); + return sigprocmask(SIG_UNBLOCK, &mask, 0); } |