diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-10 19:00:31 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-10 19:00:31 +0000 |
commit | 2edd089f8a265c2fab92da118dd89c1f59f437a5 (patch) | |
tree | cab4a64713939a63d700f275078cd953bef99b43 | |
parent | 3ae86ab936a0c28851ee898da7a49fb942350923 (diff) |
Add "static"
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6588 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | tcg/tcg.c | 2 | ||||
-rw-r--r-- | tcg/tcg.h | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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" @@ -390,8 +390,6 @@ typedef struct TCGTargetOpDef { 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); |