From: Sergio Durigan Junior Date: Sat, 27 Sep 2025 16:18:26 -0400 Subject: exp.c: Make opfunc_t variadic Fix FTBFS with GCC 15. This is an ugly hack. A better way would probably involve expanding the function's arguments using __attribute__((unused)) for extra vars. Forwarded: no Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096503 --- src/exp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exp.c b/src/exp.c index aa849c9..06e0579 100644 --- a/src/exp.c +++ b/src/exp.c @@ -49,7 +49,7 @@ typedef union unibin opfunc_t; #define _binary .binary #else /* warning: Calling functions without prototype */ -typedef void (*opfunc_t)(); +typedef void (*opfunc_t)(...); #define _unary #define _binary