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>
This commit is contained in:
parent
c34448f73f
commit
b0b05c9c63
@ -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,
|
||||
|
@ -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"
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef HW_SPAPR_NESTED_H
|
||||
#define HW_SPAPR_NESTED_H
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "target/ppc/cpu.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"
|
||||
|
@ -42,7 +42,6 @@
|
||||
#ifndef QEMU_QTREE_H
|
||||
#define QEMU_QTREE_H
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#ifdef HAVE_GLIB_WITH_SLICE_ALLOCATOR
|
||||
|
||||
|
@ -4,8 +4,6 @@
|
||||
#ifndef QEMU_RECT_H
|
||||
#define QEMU_RECT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct QemuRect {
|
||||
int16_t x;
|
||||
|
Loading…
Reference in New Issue
Block a user