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>
#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,
#define MEMORY_DEVICE_H
#include "hw/qdev-core.h"
-#include "qemu/typedefs.h"
#include "qapi/qapi-types-machine.h"
#include "qom/object.h"
#ifndef HW_SPAPR_NESTED_H
#define HW_SPAPR_NESTED_H
-#include "qemu/osdep.h"
#include "target/ppc/cpu.h"
/*
#ifndef HW_XEN_HVM_COMMON_H
#define HW_XEN_HVM_COMMON_H
-#include "qemu/osdep.h"
#include "qemu/units.h"
#include "cpu.h"
#ifndef QEMU_QTREE_H
#define QEMU_QTREE_H
-#include "qemu/osdep.h"
#ifdef HAVE_GLIB_WITH_SLICE_ALLOCATOR
#ifndef QEMU_RECT_H
#define QEMU_RECT_H
-#include <stdint.h>
-#include <stdbool.h>
typedef struct QemuRect {
int16_t x;