]> git.proxmox.com Git - qemu.git/commitdiff
tcg: Add missing static qualifier
authormalc <av1474@comtv.ru>
Sat, 17 Apr 2010 03:59:26 +0000 (07:59 +0400)
committermalc <av1474@comtv.ru>
Sat, 17 Apr 2010 04:00:41 +0000 (08:00 +0400)
Build breaks otherwise when USE_LIVENESS_ANALYSIS is not defined.

Signed-off-by: malc <av1474@comtv.ru>
tcg/tcg.c

index 329474363d650cff8c421f1cb96e6dbcf781c2db..6db96d09bf4f11041f181b25a2ad8d1a43c9e6cd 100644 (file)
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1278,7 +1278,7 @@ static void tcg_liveness_analysis(TCGContext *s)
 }
 #else
 /* dummy liveness analysis */
-void tcg_liveness_analysis(TCGContext *s)
+static void tcg_liveness_analysis(TCGContext *s)
 {
     int nb_ops;
     nb_ops = gen_opc_ptr - gen_opc_buf;