aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 17:59:14 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 17:59:14 +0000
commit4da450e6167830c88225915eb7e75b582b634215 (patch)
tree556f4f8555520a29c5fddbc86886ce85d35ab05e
parent293f78bc1b33e4da0fce3d59a7cc8426db8eb04c (diff)
Move prototype back to avoid a compiler warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4443 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-sparc/exec.h1
-rw-r--r--target-sparc/helper.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index d47163e2e2..19d1732e7c 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 408944b33d..d39830c8a1 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);