forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user