From a35a332283963d66a7ff272ace86cf49c50119e1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Mar 2012 02:18:43 +0000 Subject: 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 --- sim/m32r/traps-linux.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sim/m32r/traps-linux.c') 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; -- cgit v1.1