diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-07-10 15:23:42 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-07-10 15:23:42 +0000 |
commit | a385fa0b5d139834d1e8498a7b331b03f7ad954b (patch) | |
tree | f513ceb28655ff94f4d4f884dfd3497be250a9f7 /sim | |
parent | fc8b64b8ac907f3707e3a072412e406e231c9cf2 (diff) | |
download | gdb-a385fa0b5d139834d1e8498a7b331b03f7ad954b.tar.gz |
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
change.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/sim-load.c | 4 |
2 files changed, 5 insertions, 4 deletions
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 <hp@bitrange.com> + + * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES + change. + 2005-07-08 Ian Lance Taylor <ian@airs.com> * 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); |