This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Committed: Fix ANSI_PROTOTYPES fallout, sim-load.c
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 10 Jul 2005 11:24:56 -0400 (EDT)
- Subject: Committed: Fix ANSI_PROTOTYPES fallout, sim-load.c
See earlier message. Tested as part of building and testing gcc cross to cris-elf.
Committed as obvious.
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
change.
Index: sim-load.c
===================================================================
RCS file: /cvs/src/src/sim/common/sim-load.c,v
retrieving revision 1.8
diff -p -u -r1.8 sim-load.c
--- sim-load.c 8 Jul 2005 08:05:35 -0000 1.8
+++ sim-load.c 10 Jul 2005 15:14:00 -0000
@@ -172,8 +172,6 @@ sim_load_file (sd, myname, callback, pro
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 *callbac
static void
eprintf VPARAMS ((host_callback *callback, const char *fmt, ...))
{
- host_callback *callback;
- char *fmt;
va_list ap;
VA_START (ap, fmt);
brgds, H-P