summaryrefslogtreecommitdiffstats
path: root/waitlib/waitlib2.c
diff options
context:
space:
mode:
authorSam Varshavchik2022-05-22 23:52:28 -0400
committerSam Varshavchik2022-05-22 23:52:31 -0400
commit83e37efc8ed785cd095eb585ff747e5702ec49b3 (patch)
tree15aed6da6214e9a03d91be1754cd351175349945 /waitlib/waitlib2.c
parent1ce81fa6af52651628a0bffcd8b15fdb459901a5 (diff)
downloadcourier-libs-83e37efc8ed785cd095eb585ff747e5702ec49b3.tar.bz2
gcc 12, autotool updates, sqwebmail fixes.
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)
{