]> git.proxmox.com Git - mirror_qemu.git/commit
include: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Jan 2024 16:34:05 +0000 (16:34 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 30 Jan 2024 18:20:20 +0000 (21:20 +0300)
commitb0b05c9c635bb313d0645c4f16fa56de04b53c6e
tree091b152381f5f8f0c2d611b1db549e47af9009f3
parentc34448f73f2184d82a42b0068cc4fc859dce83d9
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>
include/hw/arm/raspberrypi-fw-defs.h
include/hw/mem/memory-device.h
include/hw/ppc/spapr_nested.h
include/hw/xen/xen-hvm-common.h
include/qemu/qtree.h
include/ui/rect.h