This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 13/23] sim/erc32: Fix a few compiler warnings
- From: Jiri Gaisler <jiri at gaisler dot se>
- To: gdb-patches at sourceware dot org
- Cc: Jiri Gaisler <jiri at gaisler dot se>
- Date: Tue, 17 Feb 2015 08:44:50 +0100
- Subject: [PATCH 13/23] sim/erc32: Fix a few compiler warnings
- Authentication-results: sourceware.org; auth=none
- Authorized-sender: jiri at gaisler dot se
- References: <1424159099-5148-1-git-send-email-jiri at gaisler dot se>
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