diff options
Diffstat (limited to 'src/signal/sigignore.c')
-rw-r--r-- | src/signal/sigignore.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signal/sigignore.c b/src/signal/sigignore.c index 78bd7474..5ba05e12 100644 --- a/src/signal/sigignore.c +++ b/src/signal/sigignore.c @@ -1,5 +1,4 @@ #include <signal.h> -#include <stddef.h> int sigignore(int sig) { @@ -8,5 +7,5 @@ int sigignore(int sig) sigemptyset(&sa.sa_mask); sa.sa_handler = SIG_IGN; sa.sa_flags = 0; - return sigaction(sig, &sa, NULL); + return sigaction(sig, &sa, 0); } |