aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-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/sim-trace.c
parentbdca5ee4bcd2fce04de6c9eabdbef8d960298e02 (diff)
downloadbinutils-6104cb7ae77a9514ada188ded4095eed39ce267e.zip
binutils-6104cb7ae77a9514ada188ded4095eed39ce267e.tar.gz
binutils-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/sim-trace.c')
-rw-r--r--sim/common/sim-trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c
index bb56db7..b8cfff3 100644
--- a/sim/common/sim-trace.c
+++ b/sim/common/sim-trace.c
@@ -1309,7 +1309,7 @@ trace_printf (SIM_DESC sd, sim_cpu *cpu, const char *fmt, ...)
#endif
va_list ap;
- VA_START (ap, fmt);
+ va_start (ap, fmt);
#if !defined __STDC__ && !defined ALMOST_STDC
sd = va_arg (ap, SIM_DESC);
cpu = va_arg (ap, sim_cpu *);
@@ -1330,7 +1330,7 @@ debug_printf (sim_cpu *cpu, const char *fmt, ...)
#endif
va_list ap;
- VA_START (ap, fmt);
+ va_start (ap, fmt);
#if !defined __STDC__ && !defined ALMOST_STDC
cpu = va_arg (ap, sim_cpu *);
fmt = va_arg (ap, const char *);