From 54ef2e43fcc8bc9e5d2230174993784d53a2f62b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 28 Mar 2026 06:54:54 +0100 Subject: [PATCH] Patch for newer gcc --- CMakeLists.txt | 2 +- src/nwserv.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd0102c..58b0645 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ enable_language(C) SET (VERSION_MAJOR "0") SET (VERSION_MINOR "99") -SET (VERSION_PATCH "25") +SET (VERSION_PATCH "26") SET (VERSION_SUB "0") SET (VERSION_DEVEL "0") SET (VERSION_SUFFIX ".0") diff --git a/src/nwserv.c b/src/nwserv.c index 930cc3c..ceb898f 100644 --- a/src/nwserv.c +++ b/src/nwserv.c @@ -444,7 +444,7 @@ static void modify_wdog_conn(int conn, int mode) } } -static void send_wdogs() +static void send_wdogs(void) { int k = hi_conn; while (k--) { @@ -1558,7 +1558,7 @@ int main(int argc, char **argv) broadtime = acttime_stamp; } else { #if !IN_NWROUTED - if (call_wdog) send_wdogs(1); + if (call_wdog) send_wdogs(); #endif } }