Commit 1ed1a7873882b75d1c857a0b3d0415be70d886ef
1 parent
60dd316e
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
Showing
2 changed files
with
2 additions
and
1 deletions
target-m68k/translate.c
target-sh4/translate.c
| ... | ... | @@ -228,7 +228,7 @@ void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) |
| 228 | 228 | (*cpu_fprintf)(f, "%s\n", sh4_defs[i].name); |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | -static int cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def) | |
| 231 | +static void cpu_sh4_register(CPUSH4State *env, const sh4_def_t *def) | |
| 232 | 232 | { |
| 233 | 233 | env->pvr = def->pvr; |
| 234 | 234 | env->prr = def->prr; | ... | ... |