From 4266717d690987993d52f5e4745064f4dbb29824 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 7 Apr 2012 17:58:34 +0200 Subject: [PATCH] Add QEMU_NORETURN to function cpu_io_recompile cpu_io_recompile terminates by calling either cpu_abort or cpu_resume_from_signal which both never return. Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec-all.h b/exec-all.h index 4758d88c77..fa7bdfecd8 100644 --- a/exec-all.h +++ b/exec-all.h @@ -87,7 +87,7 @@ int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb, int cpu_restore_state(struct TranslationBlock *tb, CPUArchState *env, uintptr_t searched_pc); void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc); -void cpu_io_recompile(CPUArchState *env, void *retaddr); +void QEMU_NORETURN cpu_io_recompile(CPUArchState *env, void *retaddr); TranslationBlock *tb_gen_code(CPUArchState *env, target_ulong pc, target_ulong cs_base, int flags, int cflags); -- 2.30.2