aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-10-22 23:03:31 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-30 08:01:58 +0000
commit405cf9ff007a62f120e2f38a517b41e1a1dbf0ce (patch)
treecbca2c715cb44c0c71f349c33a3e74fc5a42fca5 /tcg/tcg.h
parentf868445a502a75b6ac785dddbcc3233cc5f986b0 (diff)
tcg: Use fprintf_function (format checking)
fprintf_function uses format checking with GCC_FMT_ATTR. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 972df729ff..e1afde26b4 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -392,8 +392,7 @@ static inline TCGv_i64 tcg_temp_local_new_i64(void)
void tcg_temp_free_i64(TCGv_i64 arg);
char *tcg_get_arg_str_i64(TCGContext *s, char *buf, int buf_size, TCGv_i64 arg);
-void tcg_dump_info(FILE *f,
- int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
+void tcg_dump_info(FILE *f, fprintf_function cpu_fprintf);
#define TCG_CT_ALIAS 0x80
#define TCG_CT_IALIAS 0x40