aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-04 21:46:15 -0700
committerTom Tromey <tromey@redhat.com>2014-01-07 09:17:05 -0700
commit6104cb7ae77a9514ada188ded4095eed39ce267e (patch)
treebe7ebde47064f35bc580269762f3a13faea9773d /sim/common/cgen-trace.c
parentbdca5ee4bcd2fce04de6c9eabdbef8d960298e02 (diff)
downloadgdb-6104cb7ae77a9514ada188ded4095eed39ce267e.zip
gdb-6104cb7ae77a9514ada188ded4095eed39ce267e.tar.gz
gdb-6104cb7ae77a9514ada188ded4095eed39ce267e.tar.bz2
remove VA_* macros from sim
Remove the obsolete VA_* macros from sim. 2014-01-06 Tom Tromey <tromey@redhat.com> * common/cgen-trace.c: Don't use old VA_* macros. * common/sim-load.c (xprintf): Likewise. * common/sim-trace.c (trace_printf, debug_printf): Likewise.
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c
index 6e2f856..ed9aee1 100644
--- a/sim/common/cgen-trace.c
+++ b/sim/common/cgen-trace.c
@@ -308,7 +308,7 @@ sim_disasm_sprintf (SFILE *f, const char *format, ...)
int n;
va_list args;
- VA_START (args, format);
+ va_start (args, format);
#ifndef __STDC__
f = va_arg (args, SFILE *);
format = va_arg (args, char *);