From 83e37efc8ed785cd095eb585ff747e5702ec49b3 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Sun, 22 May 2022 23:52:28 -0400 Subject: gcc 12, autotool updates, sqwebmail fixes. --- waitlib/waitlib2.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'waitlib/waitlib2.c') 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) { -- cgit v1.2.3