user: Forward declare target_cpu_copy_regs structure

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-16-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-11-23 18:28:43 +01:00
parent f47dcf519d
commit fb5c28e195
18 changed files with 21 additions and 18 deletions

View file

@ -211,7 +211,7 @@ done_syscall:
}
}
void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs)
void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs)
{
CPUState *cpu = env_cpu(env);
TaskState *ts = get_task_state(cpu);