From: blueswir1 Date: Mon, 12 May 2008 17:59:14 +0000 (+0000) Subject: Move prototype back to avoid a compiler warning X-Git-Tag: xen-3.3.0-rc1~194^2^2~9 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4da450e6167830c88225915eb7e75b582b634215;p=qemu-xen-4.5-testing.git Move prototype back to avoid a compiler warning git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4443 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-sparc/exec.h b/target-sparc/exec.h index d47163e2e..19d1732e7 100644 --- a/target-sparc/exec.h +++ b/target-sparc/exec.h @@ -30,6 +30,7 @@ static inline void regs_to_env(void) int cpu_sparc_handle_mmu_fault(CPUState *env1, target_ulong address, int rw, int mmu_idx, int is_softmmu); +void do_interrupt(int intno); static inline int cpu_halted(CPUState *env1) { if (!env1->halted) diff --git a/target-sparc/helper.h b/target-sparc/helper.h index 408944b33..d39830c8a 100644 --- a/target-sparc/helper.h +++ b/target-sparc/helper.h @@ -180,7 +180,6 @@ void cpu_lock(void); void cpu_unlock(void); void cpu_loop_exit(void); void set_cwp(int new_cwp); -void do_interrupt(int intno); void memcpy32(target_ulong *dst, const target_ulong *src); target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev); void dump_mmu(CPUState *env);