diff options
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/allocrtsig.c | 2 | ||||
-rw-r--r-- | libc/signal/sigaction.c | 2 | ||||
-rw-r--r-- | libc/signal/sigjmp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c index 87fd9a641..3c7d6211b 100644 --- a/libc/signal/allocrtsig.c +++ b/libc/signal/allocrtsig.c @@ -22,7 +22,7 @@ #include <signal.h> #include <sys/types.h> #include <sys/syscall.h> - + /* Only enable rt signals when it is supported at compile time */ #ifndef __NR_rt_sigaction /* In these variables we keep track of the used variables. If the diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index 50ab640d5..88fb6b7a4 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -52,7 +52,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact) kact.sa_restorer = act->sa_restorer; # endif } - + /* XXX The size argument hopefully will have to be changed to the real size of the user-level sigset_t. */ result = __syscall_rt_sigaction(sig, diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c index 38892e050..d143e9376 100644 --- a/libc/signal/sigjmp.c +++ b/libc/signal/sigjmp.c @@ -30,7 +30,7 @@ libc_hidden_proto(sigprocmask) int __sigjmp_save (sigjmp_buf env, int savemask) attribute_hidden; int __sigjmp_save (sigjmp_buf env, int savemask) { - env[0].__mask_was_saved = (savemask && + env[0].__mask_was_saved = (savemask && sigprocmask (SIG_BLOCK, (sigset_t *) NULL, &env[0].__saved_mask) == 0); return 0; |