Description: Fix FTBFS in call() dispatch due to K&R empty-param CallFunc
 call() collects varargs into a va_list and dispatches it through a CallFunc
 pointer. CallFunc was declared as K&R-style empty-parameter function pointer
 typedef void (*CallFunc)(), which modern GCC treats as a zero-argument
 function, causing "error: too many arguments to function ... expected 0,
 have 1" at w1/call.c:104 and aborting the build. Declare the pointer to take
 a va_list so the actual calling convention matches.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: upstream
Forwarded: not-needed
Last-Update: 2026-08-27

--- acedb-4.9.39+dfsg.02.orig/wh/call.h
+++ acedb-4.9.39+dfsg.02/wh/call.h
@@ -41,7 +41,7 @@
 #include "aceiotypes.h"
 
 typedef int MESSAGERETURN ;
-typedef void (*CallFunc)() ;
+typedef void (*CallFunc)(va_list) ;
 
 
 void callRegister (char *name, CallFunc func) ;

