@@ -198,7 +198,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);
@@ -53,7 +53,7 @@ static m68k_def_t m68k_cpu_defs[] = {
{NULL, 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)
{
unsigned int i;
@@ -3096,7 +3096,7 @@ void gen_intermediate_code_pc(CPUState *env, TranslationBlock *tb)
}
void cpu_dump_state(CPUState *env, FILE *f,
- int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
+ fprintf_function cpu_fprintf,
int flags)
{
int i;
Signed-off-by: Stefan Weil <weil@mail.berlios.de> --- target-m68k/cpu.h | 2 +- target-m68k/helper.c | 2 +- target-m68k/translate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)