diff mbox

[07/14] target-m68k: Use fprintf_function

Message ID 1269890225-13639-8-git-send-email-weil@mail.berlios.de
State New
Headers show

Commit Message

Stefan Weil March 29, 2010, 7:16 p.m. UTC
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(-)
diff mbox

Patch

diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index b2f37ec..27d4e8f 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -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);
 
diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 2dfd48f..23d7adb 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -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;
 
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 99cf6dd..8a92c57 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -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;