summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigignore.c2
-rw-r--r--libc/signal/sigset.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/libc/signal/sigignore.c b/libc/signal/sigignore.c
index 9e658c6c6..f484e29fc 100644
--- a/libc/signal/sigignore.c
+++ b/libc/signal/sigignore.c
@@ -31,8 +31,6 @@ int sigignore (int sig)
struct sigaction act;
memset(&act, 0, sizeof(act));
- /*__sigemptyset (&act.sa_mask);*/
- /*act.sa_flags = 0;*/
act.sa_handler = SIG_IGN;
return sigaction (sig, &act, NULL);
diff --git a/libc/signal/sigset.c b/libc/signal/sigset.c
index 3efbf3ea3..91f433661 100644
--- a/libc/signal/sigset.c
+++ b/libc/signal/sigset.c
@@ -55,8 +55,6 @@ __sighandler_t sigset (int sig, __sighandler_t disp)
#endif /* SIG_HOLD */
memset(&act, 0, sizeof(act));
- //__sigemptyset (&act.sa_mask);
- //act.sa_flags = 0;
act.sa_handler = disp;
if (sigaction (sig, &act, &oact) < 0)
return SIG_ERR;