Skip to contentSkip to conversation

[6588] Add "static"

Qemu-devel Blue Swirl 1 participant 1 message Feb 10, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6588

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6588
Author:   blueswir1
Date:     2009-02-10 19:00:31 +0000 (Tue, 10 Feb 2009)

Log Message:
-----------
Add "static"

Modified Paths:
--------------
trunk/tcg/tcg.c
trunk/tcg/tcg.h

Modified: trunk/tcg/tcg.c
===================================================================

tcg/tcg.c +1 -1
@@ -59,7 +59,7 @@
 static void patch_reloc(uint8_t *code_ptr, int type, 
                         tcg_target_long value, tcg_target_long addend);
 
-TCGOpDef tcg_op_defs[] = {
+static TCGOpDef tcg_op_defs[] = {
 #define DEF(s, n, copy_size) { #s, 0, 0, n, n, 0, copy_size },
 #define DEF2(s, iargs, oargs, cargs, flags) { #s, iargs, oargs, cargs, iargs + oargs + cargs, flags, 0 },
 #include "tcg-opc.h"

Modified: trunk/tcg/tcg.h
===================================================================

tcg/tcg.h +0 -2
@@ -390,8 +390,6 @@
     const char *args_ct_str[TCG_MAX_OP_ARGS];
 } TCGTargetOpDef;
 
-extern TCGOpDef tcg_op_defs[];
-
 void tcg_target_init(TCGContext *s);
 void tcg_target_qemu_prologue(TCGContext *s);