summaryrefslogtreecommitdiffstats
path: root/waitlib/testwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'waitlib/testwait.c')
-rw-r--r--waitlib/testwait.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/waitlib/testwait.c b/waitlib/testwait.c
index a720e49..bd952be 100644
--- a/waitlib/testwait.c
+++ b/waitlib/testwait.c
@@ -26,12 +26,9 @@ static void reap_child(pid_t p, int dummy)
; /* shut up gcc */
}
-static RETSIGTYPE sighandler(int sig)
+static void sighandler(int sig)
{
wait_reap(&reap_child, &sighandler);
-#if RETSIGTYPE != void
- return (0);
-#endif
}
static pid_t start_child()