From: Jeffrey Altman Date: Fri, 3 Oct 2008 15:56:10 +0000 (+0000) Subject: DEVEL15-rx-vaargs-20081003 X-Git-Tag: openafs-devel-1_5_54~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ec14218f72c9ac9be6ce2f954fbcc790e61aa39f;p=packages%2Fo%2Fopenafs.git DEVEL15-rx-vaargs-20081003 LICENSE MIT define va_list ap where it will be defined on all platforms (cherry picked from commit 82fc110302a7f1b7e7971285777658bdce3735ac) --- 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);