diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 20:29:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 20:29:52 +0000 |
commit | fbb32ad9b6a4b6cffea1c5b4292b18c72cdadaf6 (patch) | |
tree | 0e3c04e3e9141adb9f9d47329c6ff46d6e5a5335 /libc/signal | |
parent | 513720b73b403c3c9aca3f25c085422f4132c292 (diff) |
on Bernd's request, remove commented-out code snippets
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/sigignore.c | 2 | ||||
-rw-r--r-- | libc/signal/sigset.c | 2 |
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; |