From b0b05c9c635bb313d0645c4f16fa56de04b53c6e Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Thu, 25 Jan 2024 16:34:05 +0000 Subject: include: Clean up includes This commit was created with scripts/clean-includes: ./scripts/clean-includes --git include include/*/*.h include/*/*/*.h All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- include/hw/mem/memory-device.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/hw/mem') diff --git a/include/hw/mem/memory-device.h b/include/hw/mem/memory-device.h index a1d62cc551..e0571c8a31 100644 --- a/include/hw/mem/memory-device.h +++ b/include/hw/mem/memory-device.h @@ -14,7 +14,6 @@ #define MEMORY_DEVICE_H #include "hw/qdev-core.h" -#include "qemu/typedefs.h" #include "qapi/qapi-types-machine.h" #include "qom/object.h" -- cgit v1.2.3