On Sat, Sep 06, 2025 at 12:39:19AM -0500, Michael Lustfield wrote:
> I have not used TDC in many years and suspect it will take much more effort to
> update the source code for modern build chains than the error suggests.
>...

The attached patch is sufficient to make gcc accept the code as C23.

> Michael Lustfield

cu
Adrian
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <[email protected]>
Bug-Debian: https://bugs.debian.org/1097979

--- tdc-2.0.orig/tdc.c
+++ tdc-2.0/tdc.c
@@ -76,7 +76,7 @@ static void gettime(char *strtime) {
   strftime(strtime, 49, timeformat, curtime_tm);
 }
 
-void handle_term() {
+void handle_term(int sig) {
   running = 0;
 }
 

Reply via email to