From: Philippe Mathieu-Daudé Date: Fri, 26 Jan 2024 21:36:43 +0000 (+0100) Subject: hw/acpi/cpu: Use CPUState typedef X-Git-Tag: v9.0.0-rc0~53^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8492bd430ecc1ceb80cac19b46870d423f1e854;p=thirdparty%2Fqemu.git hw/acpi/cpu: Use CPUState typedef QEMU coding style recommend using structure typedefs: https://www.qemu.org/docs/master/devel/style.html#typedefs Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Zhao Liu Message-Id: <20240126220407.95022-2-philmd@linaro.org> --- diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h index e011d01adf6..e6e1a9ef594 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -20,7 +20,7 @@ #include "hw/hotplug.h" typedef struct AcpiCpuStatus { - struct CPUState *cpu; + CPUState *cpu; uint64_t arch_id; bool is_inserting; bool is_removing;