From: Ian Kelling Date: Thu, 9 Oct 2025 20:14:09 +0000 (-0400) Subject: fix compiling with the latest gcc X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;p=evhz fix compiling with the latest gcc due to incorrect signature of the signal handler function. Patch authored by Jamie Learmonth --- diff --git a/evhz.c b/evhz.c index 950f727..ff7b43c 100644 --- a/evhz.c +++ b/evhz.c @@ -39,7 +39,7 @@ typedef struct event_s { int quit = 0; -void sigint() { +void sigint(int sig) { quit = 1; }