[5407] Fix missing prototype warnings by moving declarations
Revision: 5407
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5407 Author: blueswir1 Date: 2008-10-03 19:02:42 +0000 (Fri, 03 Oct 2008)
Log Message:
-----------
Fix missing prototype warnings by moving declarations
Modified Paths:
--------------
trunk/target-sparc/cpu.h
trunk/target-sparc/exec.h
Modified: trunk/target-sparc/cpu.h
===================================================================
target-sparc/cpu.h +9 -0
@@ -340,6 +340,12 @@void cpu_sparc_set_id (CPUSPARCState *env,unsigned int cpu);void sparc_cpu_list (FILE *f,int (*cpu_fprintf)(FILE *f,const char *fmt, ...)); +void cpu_lock (void ); +void cpu_unlock (void ); +int cpu_sparc_handle_mmu_fault (CPUSPARCState *env1,target_ulong address,int rw, +int mmu_idx,int is_softmmu); +target_ulong mmu_probe (CPUSPARCState *env,target_ulong address,int mmulev); +void dump_mmu (CPUSPARCState *env);/* translate.c */ void gen_intermediate_code_init (CPUSPARCState *env);
@@ -492,4 +498,7 @@#include "cpu-all.h" +/* sum4m.c, sun4u.c */ +void cpu_check_irqs (CPUSPARCState *env); +#endif
Modified: trunk/target-sparc/exec.h
===================================================================
target-sparc/exec.h +0 -11
@@ -21,23 +21,12 @@ { } -/* helper.c */ -void cpu_lock (void ); -void cpu_unlock (void ); -int cpu_sparc_handle_mmu_fault (CPUState *env1,target_ulong address,int rw, -int mmu_idx,int is_softmmu); -target_ulong mmu_probe (CPUState *env,target_ulong address,int mmulev); -void dump_mmu (CPUState *env); -/* op_helper.c */ void do_interrupt (CPUState *env);/* cpu-exec.c */ void cpu_loop_exit (void ); -/* sun4m.c */ -void cpu_check_irqs (CPUSPARCState *env); -static inline int cpu_halted (CPUState *env1) {if (!env1->halted)return 0 ;