From 9a78eead0c74333a394c0f7bbfc4423ac746fcd5 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 22 Oct 2010 23:03:33 +0200 Subject: target-xxx: Use fprintf_function (format checking) fprintf_function uses format checking with GCC_FMT_ATTR. Format errors were fixed in * target-i386/helper.c * target-mips/translate.c * target-ppc/translate.c Cc: Blue Swirl Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- target-m68k/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target-m68k/cpu.h') diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 33c41b2..b025b66 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -24,6 +24,7 @@ #define CPUState struct CPUM68KState +#include "qemu-common.h" #include "cpu-defs.h" #include "softfloat.h" @@ -198,7 +199,7 @@ static inline int m68k_feature(CPUM68KState *env, int feature) return (env->features & (1u << feature)) != 0; } -void m68k_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); +void m68k_cpu_list(FILE *f, fprintf_function cpu_fprintf); void register_m68k_insns (CPUM68KState *env); -- cgit v1.1