From: Andreas Schwab Date: Thu, 11 Nov 2004 21:58:57 +0000 (+0000) Subject: sim/erc32: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b3cc94f76d057b1004e8a22f034aed46cc72da6;p=binutils-gdb.git sim/erc32: * interf.c: Include "libiberty.h" instead of declaring buildargv ourselves. sim/ppc: * sim_calls.c: Include "libiberty.h". --- diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 5bf54d772d9..4c4386a649c 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,8 @@ +2004-11-11 Andreas Schwab + + * interf.c: Include "libiberty.h" instead of declaring buildargv + ourselves. + 2003-02-27 Andrew Cagney * interf.c (sim_open, sim_create_inferior): Rename _bfd to bfd. diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 9d5947101a6..ec8ca22fe05 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -27,6 +27,7 @@ #include #include #include "sis.h" +#include "libiberty.h" #include "bfd.h" #include #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; diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 066aa7568c9..b2d43c14a95 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2004-11-11 Andreas Schwab + + * sim_calls.c: Include "libiberty.h". + 2004-09-24 Ian Lance Taylor Committed by Andrew Cagney. diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index ae74593dd69..08feb39ab76 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -40,6 +40,7 @@ #endif #endif +#include "libiberty.h" #include "bfd.h" #include "gdb/callback.h" #include "gdb/remote-sim.h"