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 --- cpus.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpus.h') diff --git a/cpus.h b/cpus.h index af267ea07f..bf4d9bb87a 100644 --- a/cpus.h +++ b/cpus.h @@ -16,7 +16,6 @@ void vm_state_notify(int running, int reason); bool cpu_exec_all(void); void set_numa_modes(void); void set_cpu_log(const char *optarg); -void list_cpus(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), - const char *optarg); +void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); #endif -- cgit v1.2.3