summaryrefslogtreecommitdiff
path: root/src/signal/sigandset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigandset.c')
-rw-r--r--src/signal/sigandset.c2
1 files changed, 1 insertions, 1 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];