aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-01-25 16:34:05 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2024-01-30 21:20:20 +0300
commitb0b05c9c635bb313d0645c4f16fa56de04b53c6e (patch)
tree091b152381f5f8f0c2d611b1db549e47af9009f3 /include/hw
parentc34448f73f2184d82a42b0068cc4fc859dce83d9 (diff)
downloadqemu-b0b05c9c635bb313d0645c4f16fa56de04b53c6e.zip
qemu-b0b05c9c635bb313d0645c4f16fa56de04b53c6e.tar.gz
qemu-b0b05c9c635bb313d0645c4f16fa56de04b53c6e.tar.bz2
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 <peter.maydell@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/arm/raspberrypi-fw-defs.h1
-rw-r--r--include/hw/mem/memory-device.h1
-rw-r--r--include/hw/ppc/spapr_nested.h1
-rw-r--r--include/hw/xen/xen-hvm-common.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/arm/raspberrypi-fw-defs.h b/include/hw/arm/raspberrypi-fw-defs.h
index 4551fe7..579cf0d 100644
--- a/include/hw/arm/raspberrypi-fw-defs.h
+++ b/include/hw/arm/raspberrypi-fw-defs.h
@@ -10,7 +10,6 @@
#ifndef INCLUDE_HW_MISC_RASPBERRYPI_FW_DEFS_H_
#define INCLUDE_HW_MISC_RASPBERRYPI_FW_DEFS_H_
-#include "qemu/osdep.h"
enum rpi_firmware_property_tag {
RPI_FWREQ_PROPERTY_END = 0,
diff --git a/include/hw/mem/memory-device.h b/include/hw/mem/memory-device.h
index a1d62cc..e0571c8 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"
diff --git a/include/hw/ppc/spapr_nested.h b/include/hw/ppc/spapr_nested.h
index d383486..d312a5d 100644
--- a/include/hw/ppc/spapr_nested.h
+++ b/include/hw/ppc/spapr_nested.h
@@ -1,7 +1,6 @@
#ifndef HW_SPAPR_NESTED_H
#define HW_SPAPR_NESTED_H
-#include "qemu/osdep.h"
#include "target/ppc/cpu.h"
/*
diff --git a/include/hw/xen/xen-hvm-common.h b/include/hw/xen/xen-hvm-common.h
index 4e9904f..4b1d728 100644
--- a/include/hw/xen/xen-hvm-common.h
+++ b/include/hw/xen/xen-hvm-common.h
@@ -1,7 +1,6 @@
#ifndef HW_XEN_HVM_COMMON_H
#define HW_XEN_HVM_COMMON_H
-#include "qemu/osdep.h"
#include "qemu/units.h"
#include "cpu.h"