[PATCH 13/23] sim/erc32: Fix a few compiler warnings
Jiri Gaisler
jiri@gaisler.se
Tue Feb 17 07:46:00 GMT 2015
Minor edits to remove compiler warnings.
---
sim/erc32/interf.c | 2 +-
sim/erc32/sis.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 981aa11..f03f1d5 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -509,7 +509,7 @@ sim_do_command(sd, cmd)
SIM_DESC sd;
const char *cmd;
{
- exec_cmd(&sregs, cmd);
+ exec_cmd(&sregs, (char *) cmd);
}
char **
diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h
index 604d344..e2bed36 100644
--- a/sim/erc32/sis.h
+++ b/sim/erc32/sis.h
@@ -203,7 +203,6 @@ extern int check_bpt (struct pstate *sregs);
extern void reset_all (void);
extern void sys_reset (void);
extern void sys_halt (void);
-extern int bfd_load (char *fname);
extern double get_time (void);
/* exec.c */
--
2.1.0
More information about the Gdb-patches
mailing list