diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-11-15 19:58:41 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-04 20:51:15 +0000 |
commit | 047b39e47ca07cf68bdf4074031e8e41bf7de641 (patch) | |
tree | 921186f1981a39c8f915791299d655f629bd87d4 /target-sparc/cpu.h | |
parent | 6e2d864edf5ef4d75e2fec061f4cd247b4d315be (diff) |
target-sparc: Use fprintf_function (format checking)
This change was missing in commit
9a78eead0c74333a394c0f7bbfc4423ac746fcd5.
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r-- | target-sparc/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 3e93bbbdbd..1be66e7fa6 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -2,6 +2,7 @@ #define CPU_SPARC_H #include "config.h" +#include "qemu-common.h" #if !defined(TARGET_SPARC64) #define TARGET_LONG_BITS 32 @@ -442,8 +443,7 @@ typedef struct CPUSPARCState { /* helper.c */ CPUSPARCState *cpu_sparc_init(const char *cpu_model); 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 sparc_cpu_list(FILE *f, fprintf_function cpu_fprintf); int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw, int mmu_idx, int is_softmmu); #define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault |