Committed: Fix ANSI_PROTOTYPES fallout, sim-load.c

Hans-Peter Nilsson hp@bitrange.com
Sun Jul 10 15:25:00 GMT 2005


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



More information about the Gdb-patches mailing list