summaryrefslogtreecommitdiffstats
path: root/waitlib/waitlib2.c
diff options
context:
space:
mode:
Diffstat (limited to 'waitlib/waitlib2.c')
-rw-r--r--waitlib/waitlib2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/waitlib/waitlib2.c b/waitlib/waitlib2.c
index 52dfc26..a98bd9c 100644
--- a/waitlib/waitlib2.c
+++ b/waitlib/waitlib2.c
@@ -20,17 +20,13 @@ static void start_reaper(pid_t pid, int exit_stat)
{
}
-static RETSIGTYPE start_reap(int signum)
+static void start_reap(int signum)
{
wait_reap(start_reaper, start_reap);
-
-#if RETSIGTYPE != void
- return (0);
-#endif
}
void wait_forchild( void (*)(pid_t, int), /* Reaper */
- RETSIGTYPE (*)(int)); /* Signal handler stub */
+ void (*)(int)); /* Signal handler stub */
int wait_startchildren(unsigned nchildren, pid_t **pidptr)
{