summaryrefslogtreecommitdiffstats
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorBlue Swirl2012-06-03 18:35:32 +0200
committerBlue Swirl2012-06-21 20:45:18 +0200
commiteeacee4d8652d7f3b9224cfe0707c0ed87cc0e96 (patch)
tree124da0ad9aa9593d6e3333ac0f9ef86a377491b6 /tcg/tcg.h
parentqemu-log: move logging to qemu-log.c (diff)
downloadqemu-eeacee4d8652d7f3b9224cfe0707c0ed87cc0e96.tar.gz
qemu-eeacee4d8652d7f3b9224cfe0707c0ed87cc0e96.tar.xz
qemu-eeacee4d8652d7f3b9224cfe0707c0ed87cc0e96.zip
qemu-log: cleanup
Don't use global variables directly but via accessor functions. Rename globals. Convert macros to functions, add GCC format attributes. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index a83bdddba4..d710694e0a 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -571,7 +571,7 @@ TCGArg *tcg_optimize(TCGContext *s, uint16_t *tcg_opc_ptr, TCGArg *args,
/* only used for debugging purposes */
void tcg_register_helper(void *func, const char *name);
const char *tcg_helper_get_name(TCGContext *s, void *func);
-void tcg_dump_ops(TCGContext *s, FILE *outfile);
+void tcg_dump_ops(TCGContext *s);
void dump_ops(const uint16_t *opc_buf, const TCGArg *opparam_buf);
TCGv_i32 tcg_const_i32(int32_t val);