From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwKUb-0006AW-Qq for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:19:21 -0400 Received: from [140.186.70.92] (port=33632 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwKUa-00069d-KO for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:19:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwKUZ-00083t-83 for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:19:20 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:57975) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwKUY-00083m-SD for qemu-devel@nongnu.org; Mon, 29 Mar 2010 15:19:19 -0400 From: Stefan Weil Date: Mon, 29 Mar 2010 21:16:55 +0200 Message-Id: <1269890225-13639-5-git-send-email-weil@mail.berlios.de> In-Reply-To: <1269890225-13639-1-git-send-email-weil@mail.berlios.de> References: <1269890225-13639-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 04/14] target-arm: Use fprintf_function List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Signed-off-by: Stefan Weil --- target-arm/cpu.h | 2 +- target-arm/helper.c | 2 +- target-arm/translate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 3892db4..7c9d5ca 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -353,7 +353,7 @@ static inline int arm_feature(CPUARMState *env, int feature) return (env->features & (1u << feature)) != 0; } -void arm_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); +void arm_cpu_list(FILE *f, fprintf_function cpu_fprintf); /* Interface between CPU and Interrupt controller. */ void armv7m_nvic_set_pending(void *opaque, int irq); diff --git a/target-arm/helper.c b/target-arm/helper.c index e092b21..dabea4a 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -332,7 +332,7 @@ static const struct arm_cpu_t arm_cpu_names[] = { { 0, NULL} }; -void arm_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) +void arm_cpu_list(FILE *f, fprintf_function cpu_fprintf) { int i; diff --git a/target-arm/translate.c b/target-arm/translate.c index 3b84c1d..f9898e9 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -9260,7 +9260,7 @@ static const char *cpu_mode_names[16] = { }; void cpu_dump_state(CPUState *env, FILE *f, - int (*cpu_fprintf)(FILE *f, const char *fmt, ...), + fprintf_function cpu_fprintf, int flags) { int i; -- 1.7.0