summaryrefslogtreecommitdiff
path: root/libc/signal
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-04 13:37:16 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-04 13:37:16 -0600
commit474700954dda085369a77e76c1c13a2c93b0a7e1 (patch)
tree8c4f30736e3331d09d0525847b48d49b40f39889 /libc/signal
parent885d9c24d4c21da941603baf555fc72a3765bbe3 (diff)
parent8e5113112ae7d3402e2afb01c8cee18d3beb0f2e (diff)
Merge remote-tracking branch 'origin/upstream' into 1.0
Diffstat (limited to 'libc/signal')
-rw-r--r--libc/signal/sigaddset.c3
-rw-r--r--libc/signal/sigdelset.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/signal/sigaddset.c b/libc/signal/sigaddset.c
index 7e800a7f1..837f65329 100644
--- a/libc/signal/sigaddset.c
+++ b/libc/signal/sigaddset.c
@@ -30,6 +30,7 @@ sigaddset (sigset_t *set, int signo)
return -1;
}
- return __sigaddset (set, signo);
+ __sigaddset (set, signo);
+ return 0;
}
libc_hidden_def(sigaddset)
diff --git a/libc/signal/sigdelset.c b/libc/signal/sigdelset.c
index de3b12ff0..9f3ab6659 100644
--- a/libc/signal/sigdelset.c
+++ b/libc/signal/sigdelset.c
@@ -29,6 +29,7 @@ int sigdelset (sigset_t *set, int signo)
return -1;
}
- return __sigdelset (set, signo);
+ __sigdelset (set, signo);
+ return 0;
}
libc_hidden_def(sigdelset)