mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
include: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
974dc73d77
commit
90ce6e2644
97 changed files with 0 additions and 156 deletions
|
@ -14,7 +14,6 @@
|
|||
#define BLOCK_BACKEND_H
|
||||
|
||||
#include "qemu/typedefs.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
/*
|
||||
* TODO Have to include block/block.h for a bunch of block layer
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define BLOCKDEV_H
|
||||
|
||||
#include "block/block.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/queue.h"
|
||||
|
||||
void blockdev_mark_auto_del(BlockBackend *blk);
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#ifndef DMA_H
|
||||
#define DMA_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "exec/memory.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/hw.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
#include "sysemu/sysemu.h" /* for MAX_NODES */
|
||||
#include "qom/object.h"
|
||||
#include "qapi/error.h"
|
||||
#include "exec/memory.h"
|
||||
#include "qemu/option.h"
|
||||
#include "qemu/bitmap.h"
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#ifndef QEMU_KVM_H
|
||||
#define QEMU_KVM_H
|
||||
|
||||
#include <errno.h>
|
||||
#include "config-host.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "qom/cpu.h"
|
||||
#include "exec/memattrs.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef SYSEMU_NUMA_H
|
||||
#define SYSEMU_NUMA_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/option.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#ifndef QEMU_OS_POSIX_H
|
||||
#define QEMU_OS_POSIX_H
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
void os_set_line_buffering(void);
|
||||
void os_set_proc_name(const char *s);
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#define QTEST_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
extern bool qtest_allowed;
|
||||
|
||||
|
|
|
@ -12,10 +12,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "qapi-types.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/typedefs.h"
|
||||
|
||||
/* replay clock kinds */
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "qom/object.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
#define TYPE_RNG_BACKEND "rng-backend"
|
||||
#define RNG_BACKEND(obj) \
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#define QEMU_SECCOMP_H
|
||||
|
||||
#include <seccomp.h>
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
int seccomp_start(void);
|
||||
#endif
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "qom/object.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi-types.h"
|
||||
#include "qemu/option.h"
|
||||
#include "sysemu/tpm.h"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#ifndef XEN_MAPCACHE_H
|
||||
#define XEN_MAPCACHE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr,
|
||||
ram_addr_t size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue