]> git.proxmox.com Git - qemu.git/blobdiff - target-sh4/translate.c
Fix undeclared symbol warnings from sparse
[qemu.git] / target-sh4 / translate.c
index 0eeb294356d35fe1d34c2207177bfa4b818d1b41..0f22f198085beec34623adff0218ed32e4d2c949 100644 (file)
@@ -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;