Commit 2edd089f8a265c2fab92da118dd89c1f59f437a5

Authored by blueswir1
1 parent 3ae86ab9

Add "static"

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6588 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 1 additions and 3 deletions
tcg/tcg.c
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 static void patch_reloc(uint8_t *code_ptr, int type, 59 static void patch_reloc(uint8_t *code_ptr, int type,
60 tcg_target_long value, tcg_target_long addend); 60 tcg_target_long value, tcg_target_long addend);
61 61
62 -TCGOpDef tcg_op_defs[] = { 62 +static TCGOpDef tcg_op_defs[] = {
63 #define DEF(s, n, copy_size) { #s, 0, 0, n, n, 0, copy_size }, 63 #define DEF(s, n, copy_size) { #s, 0, 0, n, n, 0, copy_size },
64 #define DEF2(s, iargs, oargs, cargs, flags) { #s, iargs, oargs, cargs, iargs + oargs + cargs, flags, 0 }, 64 #define DEF2(s, iargs, oargs, cargs, flags) { #s, iargs, oargs, cargs, iargs + oargs + cargs, flags, 0 },
65 #include "tcg-opc.h" 65 #include "tcg-opc.h"
tcg/tcg.h
@@ -390,8 +390,6 @@ typedef struct TCGTargetOpDef { @@ -390,8 +390,6 @@ typedef struct TCGTargetOpDef {
390 const char *args_ct_str[TCG_MAX_OP_ARGS]; 390 const char *args_ct_str[TCG_MAX_OP_ARGS];
391 } TCGTargetOpDef; 391 } TCGTargetOpDef;
392 392
393 -extern TCGOpDef tcg_op_defs[];  
394 -  
395 void tcg_target_init(TCGContext *s); 393 void tcg_target_init(TCGContext *s);
396 void tcg_target_qemu_prologue(TCGContext *s); 394 void tcg_target_qemu_prologue(TCGContext *s);
397 395