summaryrefslogtreecommitdiff
path: root/src/signal
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal')
-rw-r--r--src/signal/sigandset.c2
-rw-r--r--src/signal/sigorset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/signal/sigandset.c b/src/signal/sigandset.c
index e0c6f486..974186f3 100644
--- a/src/signal/sigandset.c
+++ b/src/signal/sigandset.c
@@ -3,7 +3,7 @@
#define SST_SIZE (_NSIG/8/sizeof(long))
-int sigandset(sigset_t *dest, sigset_t *left, sigset_t *right)
+int sigandset(sigset_t *dest, const sigset_t *left, const sigset_t *right)
{
unsigned long i = 0, *d = (void*) dest, *l = (void*) left, *r = (void*) right;
for(; i < SST_SIZE; i++) d[i] = l[i] & r[i];
diff --git a/src/signal/sigorset.c b/src/signal/sigorset.c
index df1b1b17..ed488738 100644
--- a/src/signal/sigorset.c
+++ b/src/signal/sigorset.c
@@ -3,7 +3,7 @@
#define SST_SIZE (_NSIG/8/sizeof(long))
-int sigorset(sigset_t *dest, sigset_t *left, sigset_t *right)
+int sigorset(sigset_t *dest, const sigset_t *left, const sigset_t *right)
{
unsigned long i = 0, *d = (void*) dest, *l = (void*) left, *r = (void*) right;
for(; i < SST_SIZE; i++) d[i] = l[i] | r[i];