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


Cc: Blue Swirl <>
Signed-off-by: default avatarStefan Weil <>
Signed-off-by: default avatarBlue Swirl <>
parent 6e2d864e
......@@ -2,6 +2,7 @@
#define CPU_SPARC_H
#include "config.h"
#include "qemu-common.h"
#if !defined(TARGET_SPARC64)
......@@ -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
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