summaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 11:47:55 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 11:47:55 +0000
commit75424bb94fc2ca781906c8d46c3b07e7e80207e5 (patch)
tree575285ff0051d4c6dac64b0637268fb8162b290a /target-sh4
parent00935b908846d106587dedb55c0ff62bb4518cf1 (diff)
downloadqemu-75424bb94fc2ca781906c8d46c3b07e7e80207e5.tar.gz
qemu-75424bb94fc2ca781906c8d46c3b07e7e80207e5.tar.bz2
qemu-75424bb94fc2ca781906c8d46c3b07e7e80207e5.zip
Silence some warnings about no value returned from non-void function
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5430 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 4614c8674b..91821a18ae 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -228,7 +228,7 @@ void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...))
(*cpu_fprintf)(f, "%s\n", sh4_defs[i].name);
}
-static int cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def)
+static void cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def)
{
env->pvr = def->pvr;
env->prr = def->prr;