summaryrefslogtreecommitdiff
path: root/src/signal/sigwaitinfo.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-12-13 02:20:07 -0500
committerRich Felker <dalias@aerifal.cx>2013-12-13 02:20:07 -0500
commita7dbcf5c8ca7edb7a46eb276031ad1df4131135b (patch)
tree969708c0db27a58609d2636c752c2e1e23406640 /src/signal/sigwaitinfo.c
parent571744447c23f91feb6439948f3a619aca850dfb (diff)
downloadmusl-a7dbcf5c8ca7edb7a46eb276031ad1df4131135b.tar.gz
use 0 instead of NULL for null pointer constants
and thereby remove otherwise-unnecessary inclusion of stddef.h
Diffstat (limited to 'src/signal/sigwaitinfo.c')
-rw-r--r--src/signal/sigwaitinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signal/sigwaitinfo.c b/src/signal/sigwaitinfo.c
index c7b164df..bb51f8b5 100644
--- a/src/signal/sigwaitinfo.c
+++ b/src/signal/sigwaitinfo.c
@@ -1,7 +1,6 @@
#include <signal.h>
-#include <stddef.h>
int sigwaitinfo(const sigset_t *restrict mask, siginfo_t *restrict si)
{
- return sigtimedwait(mask, si, NULL);
+ return sigtimedwait(mask, si, 0);
}