aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 22:46:42 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 22:46:42 +0000
commitb79e175259bd3591cc3abd1ebe8551573927cd56 (patch)
tree43af753b0577802934a2ea3a50a257fc02619b72 /target-sh4/translate.c
parentd8299bccf265b72db967a064e8151660b78cdfae (diff)
downloadqemu-b79e175259bd3591cc3abd1ebe8551573927cd56.zip
qemu-b79e175259bd3591cc3abd1ebe8551573927cd56.tar.gz
qemu-b79e175259bd3591cc3abd1ebe8551573927cd56.tar.bz2
SH4: kill a few warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5938 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/translate.c')
-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 50b82e0..d6cfb7c 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -71,7 +71,7 @@ static TCGv_ptr cpu_env;
static TCGv cpu_gregs[24];
static TCGv cpu_pc, cpu_sr, cpu_ssr, cpu_spc, cpu_gbr;
static TCGv cpu_vbr, cpu_sgr, cpu_dbr, cpu_mach, cpu_macl;
-static TCGv cpu_pr, cpu_fpscr, cpu_fpul, cpu_flags;
+static TCGv cpu_pr, cpu_fpscr, cpu_fpul;
static TCGv cpu_fregs[32];
/* internal register indexes */
@@ -181,7 +181,7 @@ void cpu_dump_state(CPUState * env, FILE * f,
}
}
-void cpu_sh4_reset(CPUSH4State * env)
+static void cpu_sh4_reset(CPUSH4State * env)
{
#if defined(CONFIG_USER_ONLY)
env->sr = SR_FD; /* FD - kernel does lazy fpu context switch */