aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
commitb1d8e52e636fd2c137e5abb2d59b331473e0930d (patch)
treeb9fe10850b589a60f5dade8cdf3407c67428127b /target-sh4
parent51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff)
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 0eeb294356..0f22f19808 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -459,7 +459,7 @@ static inline void gen_store_fpr64 (TCGv t, int reg)
return; \
}
-void _decode_opc(DisasContext * ctx)
+static void _decode_opc(DisasContext * ctx)
{
#if 0
fprintf(stderr, "Translating opcode 0x%04x\n", ctx->opcode);
@@ -1762,7 +1762,7 @@ void _decode_opc(DisasContext * ctx)
ctx->bstate = BS_EXCP;
}
-void decode_opc(DisasContext * ctx)
+static void decode_opc(DisasContext * ctx)
{
uint32_t old_flags = ctx->flags;