aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-26 02:18:43 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-26 02:18:43 +0000
commita35a332283963d66a7ff272ace86cf49c50119e1 (patch)
treeaf4399c260992bc590e92d544e8a81f248f64956 /sim/m32r
parentfc72a5f0f1a5b41a23ad80cead0e9bdc1459d7b3 (diff)
downloadgdb-a35a332283963d66a7ff272ace86cf49c50119e1.zip
gdb-a35a332283963d66a7ff272ace86cf49c50119e1.tar.gz
gdb-a35a332283963d66a7ff272ace86cf49c50119e1.tar.bz2
sim: add a proper sim_core_trans_addr prototype
The common code has a sim_core_trans_addr() helper that only the m32r code uses. Move the inline extern in the m32r code to the proper common header. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/traps-linux.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 6a85991..d59b73c 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-25 Mike Frysinger <vapier@gentoo.org>
+
+ * traps-linux.c (sim_core_trans_addr): Delete prototype.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/m32r/traps-linux.c b/sim/m32r/traps-linux.c
index 0138a4e..d7d552b 100644
--- a/sim/m32r/traps-linux.c
+++ b/sim/m32r/traps-linux.c
@@ -141,7 +141,6 @@ static void *
t2h_addr (host_callback *cb, struct cb_syscall *sc,
unsigned long taddr)
{
- extern sim_core_trans_addr (SIM_DESC, sim_cpu *, unsigned, address_word);
void *addr;
SIM_DESC sd = (SIM_DESC) sc->p1;
SIM_CPU *cpu = (SIM_CPU *) sc->p2;