From: Hans-Peter Nilsson Date: Sun, 10 Jul 2005 15:23:42 +0000 (+0000) Subject: * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES X-Git-Tag: gdb_6_4-branchpoint~772 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f010abaa2b11934478d92c275c7bbc8bf925b46a;p=thirdparty%2Fbinutils-gdb.git * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES change. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 54303c46782..5e4e5a48743 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2005-07-10 Hans-Peter Nilsson + + * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES + change. + 2005-07-08 Ian Lance Taylor * sim-fpu.c (sim_fpu_abs): Always clear the sign bit. diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index c140bebd452..32699529aaa 100644 --- a/sim/common/sim-load.c +++ b/sim/common/sim-load.c @@ -172,8 +172,6 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write) static void xprintf VPARAMS ((host_callback *callback, const char *fmt, ...)) { - host_callback *callback; - char *fmt; va_list ap; VA_START (ap, fmt); @@ -186,8 +184,6 @@ xprintf VPARAMS ((host_callback *callback, const char *fmt, ...)) static void eprintf VPARAMS ((host_callback *callback, const char *fmt, ...)) { - host_callback *callback; - char *fmt; va_list ap; VA_START (ap, fmt);