diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-02-06 22:43:09 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 10:26:05 +0300 |
commit | 084cc83996d1414d4713a84291a0fadf4199b9d2 (patch) | |
tree | b31e0d238fc8c135aa6ec093cd1a9ee044da33f0 /disas/sh4.c | |
parent | 8b98ade31ed7994d6bcbb0600ad0ea3f3d881088 (diff) |
disas/sh4: Fix warning caused by missing 'static' attribute
Warning from the Sparse static analysis tool:
disas/sh4.c:335:22: warning:
symbol 'sh_table' was not declared. Should it be static?
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'disas/sh4.c')
-rw-r--r-- | disas/sh4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disas/sh4.c b/disas/sh4.c index f6cadd55c0..020f5ebb7b 100644 --- a/disas/sh4.c +++ b/disas/sh4.c @@ -332,7 +332,7 @@ typedef struct #ifdef DEFINE_TABLE -const sh_opcode_info sh_table[] = +static const sh_opcode_info sh_table[] = { /* 0111nnnni8*1.... add #<imm>,<REG_N> */{"add",{A_IMM,A_REG_N},{HEX_7,REG_N,IMM0_8}, arch_sh1_up}, |