mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
user: Declare cpu_loop() once in 'user/cpu_loop.h'
Declare cpu_loop() once in "user/cpu_loop.h". bsd-user gets the G_NORETURN attribute. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241212185341.2857-18-philmd@linaro.org>
This commit is contained in:
parent
b74c898158
commit
166a4b6e43
8 changed files with 8 additions and 7 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "exec/exec-all.h"
|
||||
|
||||
#include "user/abitypes.h"
|
||||
#include "user/cpu_loop.h"
|
||||
#include "user/page-protection.h"
|
||||
|
||||
extern char **environ;
|
||||
|
@ -187,7 +188,6 @@ abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1,
|
|||
abi_long arg5, abi_long arg6);
|
||||
void gemu_log(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
|
||||
extern __thread CPUState *thread_cpu;
|
||||
void cpu_loop(CPUArchState *env);
|
||||
char *target_strerror(int err);
|
||||
int get_osversion(void);
|
||||
void fork_start(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue