Commit 047b39e4 authored by Stefan Weil's avatar Stefan Weil Committed by Blue Swirl
Browse files

target-sparc: Use fprintf_function (format checking)

This change was missing in commit
9a78eead

.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 6e2d864e
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define CPU_SPARC_H #define CPU_SPARC_H
#include "config.h" #include "config.h"
#include "qemu-common.h"
#if !defined(TARGET_SPARC64) #if !defined(TARGET_SPARC64)
#define TARGET_LONG_BITS 32 #define TARGET_LONG_BITS 32
...@@ -442,8 +443,7 @@ typedef struct CPUSPARCState { ...@@ -442,8 +443,7 @@ typedef struct CPUSPARCState {
/* helper.c */ /* helper.c */
CPUSPARCState *cpu_sparc_init(const char *cpu_model); CPUSPARCState *cpu_sparc_init(const char *cpu_model);
void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu); 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 cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw,
int mmu_idx, int is_softmmu); int mmu_idx, int is_softmmu);
#define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault #define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment