mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/loongarch: Declare loongarch_cpu_dump_state() locally
loongarch_cpu_dump_state() is not used outside of cpu.c, no need to expose its prototype. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241115152053.66442-3-philmd@linaro.org>
This commit is contained in:
parent
1bf0d6e476
commit
92b3938ca6
2 changed files with 1 additions and 3 deletions
|
@ -742,7 +742,7 @@ static ObjectClass *loongarch_cpu_class_by_name(const char *cpu_model)
|
|||
return oc;
|
||||
}
|
||||
|
||||
void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags)
|
||||
static void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags)
|
||||
{
|
||||
CPULoongArchState *env = cpu_env(cs);
|
||||
int i;
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
void loongarch_translate_init(void);
|
||||
|
||||
void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
|
||||
|
||||
void G_NORETURN do_raise_exception(CPULoongArchState *env,
|
||||
uint32_t exception,
|
||||
uintptr_t pc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue