From ec14218f72c9ac9be6ce2f954fbcc790e61aa39f Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 3 Oct 2008 15:56:10 +0000 Subject: [PATCH] DEVEL15-rx-vaargs-20081003 LICENSE MIT define va_list ap where it will be defined on all platforms (cherry picked from commit 82fc110302a7f1b7e7971285777658bdce3735ac) --- src/rx/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 2d4be95b0..8666bd76a 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -6277,6 +6277,7 @@ rx_DebugOnOff(int on) void rxi_DebugPrint(char *format, ...) { + va_list ap; #ifdef AFS_NT40_ENV char msg[512]; char tformat[256]; @@ -6297,7 +6298,6 @@ rxi_DebugPrint(char *format, ...) va_end(ap); #else struct clock now; - va_list ap; va_start(ap, format); -- 2.39.5