2004-10-23 Andreas Schwab <schwab@suse.de>
sim/erc32/:
* interf.c: Include "libiberty.h" instead of declaring buildargv
ourselves.
sim/ppc/:
* sim_calls.c: Include "libiberty.h".
--- sim/erc32/interf.c 28 Feb 2003 10:09:08 +0100 1.3
+++ sim/erc32/interf.c 23 Oct 2004 20:36:47 +0200
@@ -27,6 +27,7 @@
#include <time.h>
#include <sys/fcntl.h>
#include "sis.h"
+#include "libiberty.h"
#include "bfd.h"
#include <dis-asm.h>
#include "sim-config.h"
@@ -41,8 +42,6 @@ extern fprintf();
#define VAL(x) strtol(x,(char **)NULL,0)
-extern char **buildargv(char *input);
-
extern struct disassemble_info dinfo;
extern struct pstate sregs;
extern struct estate ebase;
--- sim/ppc/sim_calls.c 05 Aug 2004 10:34:37 +0200 1.10
+++ sim/ppc/sim_calls.c 23 Oct 2004 20:35:50 +0200
@@ -40,6 +40,7 @@
#endif
#endif
+#include "libiberty.h"
#include "bfd.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"