tstools: fix gcc-15 build

ref: https://github.com/kynesim/tstools PR44
This commit is contained in:
Rudi Heitbaum 2024-12-09 06:00:19 +00:00
parent f39ebc67aa
commit 8c2b6fdb3e

View File

@ -0,0 +1,22 @@
From a1f2a71b286135d89865bb0332cbe3db59cea300 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Mon, 9 Dec 2024 16:57:53 +1100
Subject: [PATCH] fix build with gcc-15
---
tsserve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tsserve.c b/tsserve.c
index d81042e..253ba0c 100644
--- a/tsserve.c
+++ b/tsserve.c
@@ -2958,7 +2958,7 @@ static void set_child_exit_handler();
/*
* Signal handler - catch children and stop them becoming zombies
*/
-static void on_child_exit()
+static void on_child_exit(int signum)
{
#if 0
print_msg("sighandler: starting\n");