diff --git a/audio/audio.h b/audio/audio.h index e7ea39777e1bebb78bf4eb747407a0ddb7351953..b41a97053d9bc8868bf7a1fc661b331bfa806201 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -24,7 +24,6 @@ #ifndef QEMU_AUDIO_H #define QEMU_AUDIO_H -#include "config-host.h" #include "qemu/queue.h" typedef void (*audio_callback_fn) (void *opaque, int avail); diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 735cb4042a589f244c559da9b889ee3e4829e731..1b5f9983d1b4016cd6fcc1b0b058e3cfdee6f474 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -17,15 +17,12 @@ #ifndef QEMU_H #define QEMU_H -#include -#include #include "cpu.h" #include "exec/cpu_ldst.h" #undef DEBUG_REMAP #ifdef DEBUG_REMAP -#include #endif /* DEBUG_REMAP */ #include "exec/user/abitypes.h" diff --git a/contrib/ivshmem-client/ivshmem-client.h b/contrib/ivshmem-client/ivshmem-client.h index 3a4f8096827771a7c566180555825dd539cb0c6f..54cde17d937c125a8a6c22ff5e19ffa627914087 100644 --- a/contrib/ivshmem-client/ivshmem-client.h +++ b/contrib/ivshmem-client/ivshmem-client.h @@ -19,7 +19,6 @@ * purposes. */ -#include #include #include "qemu/queue.h" diff --git a/contrib/ivshmem-server/ivshmem-server.h b/contrib/ivshmem-server/ivshmem-server.h index c9359a0a8a4ca8f6b4f83021bc90a69eef3e651a..e9de8a369d93df4a2ccbcce69e13399a1fa41208 100644 --- a/contrib/ivshmem-server/ivshmem-server.h +++ b/contrib/ivshmem-server/ivshmem-server.h @@ -26,10 +26,7 @@ * associated to the ivshmem shared memory. */ -#include #include -#include -#include #include "qemu/event_notifier.h" #include "qemu/queue.h" diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h index 956fda091968b34326246209109b4b05697fcf31..b8c26024a9555f27f6503ef3f159c34182464626 100644 --- a/fsdev/file-op-9p.h +++ b/fsdev/file-op-9p.h @@ -12,11 +12,8 @@ */ #ifndef _FILEOP_H #define _FILEOP_H -#include #include -#include #include -#include #include #include diff --git a/hw/9pfs/9p-synth.h b/hw/9pfs/9p-synth.h index eaf5a0c2933ff614d05d68d2d92aeb6f15e95e3f..82962512a19993f50972e40511548b960e7d9c9f 100644 --- a/hw/9pfs/9p-synth.h +++ b/hw/9pfs/9p-synth.h @@ -13,9 +13,6 @@ #ifndef HW_9PFS_SYNTH_H #define HW_9PFS_SYNTH_H 1 -#include -#include -#include typedef struct V9fsSynthNode V9fsSynthNode; typedef ssize_t (*v9fs_synth_read)(void *buf, int len, off_t offset, diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index edcd51be1525f1020ed3c274ed5965030634e112..1a19418a8ce5493e53a1d396b5177496e28db23a 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -1,9 +1,7 @@ #ifndef _QEMU_9P_H #define _QEMU_9P_H -#include #include -#include #include #include #include diff --git a/hw/audio/gusemu.h b/hw/audio/gusemu.h index 331bb6fec0036f979d4adf61df59258f5c2b6ec8..b7f075126877d14a09368bef9fff09af9a1c0e4b 100644 --- a/hw/audio/gusemu.h +++ b/hw/audio/gusemu.h @@ -34,7 +34,6 @@ typedef signed char GUSchar; typedef signed short GUSsample; #else - #include typedef int8_t GUSchar; typedef uint8_t GUSbyte; typedef uint16_t GUSword; diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h index 40ba6a4207a5fe6473523ce55a0b1fc866160986..bdb43a5a3476cd5cf23528c9253e75eca665f9d9 100644 --- a/hw/display/vga_int.h +++ b/hw/display/vga_int.h @@ -25,7 +25,6 @@ #define HW_VGA_INT_H 1 #include -#include "qapi/error.h" #include "exec/memory.h" #define ST01_V_RETRACE 0x08 diff --git a/hw/net/fsl_etsec/registers.h b/hw/net/fsl_etsec/registers.h index 7ad768647084361e64fbab3eda5c509d0c412216..6fb96842b83ba75ae685f303f0aafbe556942019 100644 --- a/hw/net/fsl_etsec/registers.h +++ b/hw/net/fsl_etsec/registers.h @@ -24,7 +24,6 @@ #ifndef _ETSEC_REGISTERS_H_ #define _ETSEC_REGISTERS_H_ -#include enum eTSEC_Register_Access_Type { ACC_RW = 1, /* Read/Write */ diff --git a/hw/usb/desc.h b/hw/usb/desc.h index 8e8db03a0caa3b2932b2d2e4a606185d7ca3dc5c..4d81c68e0ef8c2954fa89abf71248d0982ea4b01 100644 --- a/hw/usb/desc.h +++ b/hw/usb/desc.h @@ -1,7 +1,6 @@ #ifndef QEMU_HW_USB_DESC_H #define QEMU_HW_USB_DESC_H -#include #include /* binary representation */ diff --git a/io/channel-util.c b/io/channel-util.c index f96907cb5c3360f6141c03ff3c76657c0712c125..0fb4bd08374898db422b5c6398ce594ca75b5e63 100644 --- a/io/channel-util.c +++ b/io/channel-util.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include "io/channel-util.h" #include "io/channel-file.h" #include "io/channel-socket.h" diff --git a/linux-user/arm/nwfpe/fpa11.h b/linux-user/arm/nwfpe/fpa11.h index bb9ac6554ee84e7209f927930f1c698bd78359a7..7e114eee8a19e45a7e32de10b6eefe012dc6714e 100644 --- a/linux-user/arm/nwfpe/fpa11.h +++ b/linux-user/arm/nwfpe/fpa11.h @@ -21,9 +21,6 @@ #ifndef __FPA11_H__ #define __FPA11_H__ -#include -#include -#include #include diff --git a/linux-user/qemu.h b/linux-user/qemu.h index bd90cc37999ed52fbbccac9d0892ee075e521e38..ba5b433d998bce45ca8e1477915cea5dec1b3710 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -1,15 +1,12 @@ #ifndef QEMU_H #define QEMU_H -#include -#include #include "cpu.h" #include "exec/cpu_ldst.h" #undef DEBUG_REMAP #ifdef DEBUG_REMAP -#include #endif /* DEBUG_REMAP */ #include "exec/user/abitypes.h" diff --git a/nbd/nbd-internal.h b/nbd/nbd-internal.h index db6ab65ced17a637b7b3d498075c9a0151900245..d09b4ee30881acd1f4250bd0397db32939d6a8e7 100644 --- a/nbd/nbd-internal.h +++ b/nbd/nbd-internal.h @@ -16,16 +16,12 @@ #include "qemu/coroutine.h" #include "qemu/iov.h" -#include -#include #ifndef _WIN32 #include #endif #if defined(__sun__) || defined(__HAIKU__) #include #endif -#include -#include #ifdef __linux__ #include diff --git a/net/tap-linux.h b/net/tap-linux.h index 01dc6f8a2db9a7252beb134735d0eaef62ead9dc..1dc3a9f279d506e1b085f011a5c51bb2bdd98c62 100644 --- a/net/tap-linux.h +++ b/net/tap-linux.h @@ -16,7 +16,6 @@ #ifndef QEMU_TAP_LINUX_H #define QEMU_TAP_LINUX_H -#include #ifdef __linux__ #include diff --git a/net/util.h b/net/util.h index 10c7da95f03056051a1cf949bb85aab5948800c0..60b73d372d6db0575d15992bcb835f7a478e3ed8 100644 --- a/net/util.h +++ b/net/util.h @@ -25,7 +25,6 @@ #ifndef QEMU_NET_UTIL_H #define QEMU_NET_UTIL_H -#include int net_parse_macaddr(uint8_t *macaddr, const char *p); diff --git a/qemu-nbd.c b/qemu-nbd.c index efc427c4f4310eef430062a0bb5f1879e6a9b114..5fe94d0e7b785ecd90c6b5c2e9f580c1d7353ac5 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -31,8 +31,6 @@ #include "io/channel-socket.h" #include -#include -#include #include #include diff --git a/qga/vss-win32.h b/qga/vss-win32.h index 298927dfa51f91f8632733302e6b6394cc5b0772..4d1d15081e9d098f07355d4bc306b1ef7d5f5e61 100644 --- a/qga/vss-win32.h +++ b/qga/vss-win32.h @@ -13,7 +13,6 @@ #ifndef VSS_WIN32_H #define VSS_WIN32_H -#include "qapi/error.h" bool vss_init(bool init_requester); void vss_deinit(bool deinit_requester); diff --git a/qga/vss-win32/requester.h b/qga/vss-win32/requester.h index c3093cf4b641df1b5b3ae061fcba8fc1e519951f..ad2bf3df61fccd27b2463497912b635549ab1e02 100644 --- a/qga/vss-win32/requester.h +++ b/qga/vss-win32/requester.h @@ -14,7 +14,6 @@ #define VSS_WIN32_REQUESTER_H #include /* STDAPI */ -#include "qemu/compiler.h" #ifdef __cplusplus extern "C" { diff --git a/qga/vss-win32/vss-common.h b/qga/vss-win32/vss-common.h index ce14e142903a4cbf8dbc7016e4391264d4094d5e..91dae0c38d49ca79a7d7c23d90ecdaa3e5cbd9c8 100644 --- a/qga/vss-win32/vss-common.h +++ b/qga/vss-win32/vss-common.h @@ -14,7 +14,6 @@ #define VSS_WIN32_H #define __MIDL_user_allocate_free_DEFINED__ -#include "config-host.h" #include #include diff --git a/replay/replay-internal.h b/replay/replay-internal.h index 77e0d292c7d68589d3a7d440d89930a2071926a3..5438ebdb9c0d8320a1d29e9eae0cf983a2e78c14 100644 --- a/replay/replay-internal.h +++ b/replay/replay-internal.h @@ -12,7 +12,6 @@ * */ -#include enum ReplayEvents { /* for instruction event */ diff --git a/slirp/slirp.h b/slirp/slirp.h index 239fe2917aad3cb9cd818f4d08581b9e8abd20f2..07c13b4725e20d424c91f7fbfee165d30c4f46cb 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -1,11 +1,9 @@ #ifndef __COMMON_H__ #define __COMMON_H__ -#include "config-host.h" #include "slirp_config.h" #ifdef _WIN32 -# include typedef char *caddr_t; @@ -23,43 +21,31 @@ typedef char *caddr_t; # endif #endif -#include #ifdef HAVE_SYS_BITYPES_H # include #endif -#include #ifdef HAVE_UNISTD_H -# include #endif #ifdef HAVE_STDLIB_H -# include #endif -#include -#include #ifndef HAVE_MEMMOVE #define memmove(x, y, z) bcopy(y, x, z) #endif #if TIME_WITH_SYS_TIME -# include -# include #else # ifdef HAVE_SYS_TIME_H -# include # else -# include # endif #endif #ifdef HAVE_STRING_H -# include #else -# include #endif #ifndef _WIN32 @@ -82,11 +68,9 @@ void *malloc(size_t arg); void free(void *ptr); #endif -#include #ifndef NO_UNIX_SOCKETS #include #endif -#include #ifdef HAVE_SYS_SIGNAL_H # include #endif @@ -115,12 +99,10 @@ void free(void *ptr); #endif #ifdef __STDC__ -#include #else #include #endif -#include /* Avoid conflicting with the libc insque() and remque(), which have different prototypes. */ diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index bcd8076abbf0ed91f92aeba2861e50e7ee445aab..420f2a53fe1315aede95a4ce0c7186126174876e 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -20,7 +20,6 @@ #if !defined (__CPU_ALPHA_H__) #define __CPU_ALPHA_H__ -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 64 diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 16238216f458720f7f5c32fd4e25293468e9b1e8..3cbda735781eb104c03b59dce5f83ad31925a3ff 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -19,7 +19,6 @@ #ifndef CPU_ARM_H #define CPU_ARM_H -#include "config.h" #include "kvm-consts.h" diff --git a/target-arm/kvm-consts.h b/target-arm/kvm-consts.h index 943bf8980a6277a8314e572aad3773d3f563683e..a2c9518592218a1b57ccedd88d18cb7f31c14f31 100644 --- a/target-arm/kvm-consts.h +++ b/target-arm/kvm-consts.h @@ -15,7 +15,6 @@ #define ARM_KVM_CONSTS_H #ifdef CONFIG_KVM -#include "qemu/compiler.h" #include #include diff --git a/target-cris/cpu.h b/target-cris/cpu.h index 32204607ca4326fff3930fea501df7d0cf62b4ab..415cf91436f6ca024cf3a03eaa364978b925b922 100644 --- a/target-cris/cpu.h +++ b/target-cris/cpu.h @@ -20,7 +20,6 @@ #ifndef CPU_CRIS_H #define CPU_CRIS_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 32 diff --git a/target-i386/cpu-qom.h b/target-i386/cpu-qom.h index 5f9d960b25dc413d18f036af693d92ceca157d56..cb750176c0c0b360b43b6af6da43db2d77428de3 100644 --- a/target-i386/cpu-qom.h +++ b/target-i386/cpu-qom.h @@ -22,7 +22,6 @@ #include "qom/cpu.h" #include "cpu.h" -#include "qapi/error.h" #include "qemu/notify.h" #ifdef TARGET_X86_64 diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 94cb4db27d7214aba803a6835c73da296c5c3201..7febc3f5ec9a7f3caaf479632b708e6e3488379c 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -19,7 +19,6 @@ #ifndef CPU_I386_H #define CPU_I386_H -#include "config.h" #include "qemu-common.h" #include "standard-headers/asm-x86/hyperv.h" diff --git a/target-i386/mpx_helper.c b/target-i386/mpx_helper.c index 1bf717af05bb3b1a3c0246d88d60477e7f5d3d6d..052a69c52fc597139e42b53879e122060347d033 100644 --- a/target-i386/mpx_helper.c +++ b/target-i386/mpx_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h index 2b7620c7da2fdaad4f2b21de0b09af06413be1a9..f220fc0bb93634cb62eaae0f1bd99824d06e75c2 100644 --- a/target-lm32/cpu.h +++ b/target-lm32/cpu.h @@ -24,7 +24,6 @@ #define CPUArchState struct CPULM32State -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" struct CPULM32State; diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 224c16967ca92566317b87a766c5f92de1daea2f..48b4c872fce2d3771a98cc04a8a05e7bcd079f34 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -24,7 +24,6 @@ #define CPUArchState struct CPUM68KState -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 6b212ab7f01c93e351c01cf77214819855e0c65e..2f7335eaa7b5ec175d5c61f9614b85180dd3b7e7 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -19,7 +19,6 @@ #ifndef CPU_MICROBLAZE_H #define CPU_MICROBLAZE_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 32 diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 86b63336348c0d1d76346834fe97c94f186d4f9f..bd23c2a054703fc641454824b500c95f27906427 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -7,7 +7,6 @@ #define CPUArchState struct CPUMIPSState -#include "config.h" #include "qemu-common.h" #include "mips-defs.h" #include "exec/cpu-defs.h" diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h index a61274401161fe705aa40b5c052cec349dba1766..4ee207796cbec7b1f2ef1b0e04303067a4088c64 100644 --- a/target-moxie/cpu.h +++ b/target-moxie/cpu.h @@ -19,7 +19,6 @@ #ifndef _CPU_MOXIE_H #define _CPU_MOXIE_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 32 diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h index eb7160739515b40b3add80346fff73e16ee6e9f6..4b63f258044e818543897418c63a091629500460 100644 --- a/target-openrisc/cpu.h +++ b/target-openrisc/cpu.h @@ -27,7 +27,6 @@ /* cpu_openrisc_map_address_* in CPUOpenRISCTLBContext need this decl. */ struct OpenRISCCPU; -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" #include "fpu/softfloat.h" diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 892f4dc94941b0f569b057a12932603cab1bbb10..2b10597fa954e568d9db230b0825314df5dd75f1 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -19,7 +19,6 @@ #if !defined (__CPU_PPC_H__) #define __CPU_PPC_H__ -#include "config.h" #include "qemu-common.h" //#define PPC_EMULATE_32BITS_HYPV diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 06ca60b25fc8bcc3da3a0aa7ccfcf8d4f3e42208..6ae5699e0badaec5d2d2ff515ce4338b0ff315f6 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -22,7 +22,6 @@ #ifndef CPU_S390X_H #define CPU_S390X_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 64 diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 5b022c5973647cd98a562e6b6feb5f2fe3a3d7c3..3b23e967bba5aa175523d3e341bbad4d6ac21a95 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -19,7 +19,6 @@ #ifndef _CPU_SH4_H #define _CPU_SH4_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 32 diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 58ff4743b4bfa956613b1d160ebe937cd30a8186..dc461227587b18a2745350e82b0108dd8454f0b2 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -1,7 +1,6 @@ #ifndef CPU_SPARC_H #define CPU_SPARC_H -#include "config.h" #include "qemu-common.h" #include "qemu/bswap.h" diff --git a/target-tilegx/cpu.h b/target-tilegx/cpu.h index 03df107a674e4f3d6621e9b704fb8476222e242e..022cad186ace66fa0d65af834c1d53ef420544ca 100644 --- a/target-tilegx/cpu.h +++ b/target-tilegx/cpu.h @@ -19,7 +19,6 @@ #ifndef CPU_TILEGX_H #define CPU_TILEGX_H -#include "config.h" #include "qemu-common.h" #define TARGET_LONG_BITS 64 diff --git a/target-tricore/cpu.h b/target-tricore/cpu.h index 20a12f3a40b92792ce24b6bc57b1356b1bf719e7..be6f12170da7ab982a0e6d30df50adeba3a3cf21 100644 --- a/target-tricore/cpu.h +++ b/target-tricore/cpu.h @@ -20,7 +20,6 @@ #define __TRICORE_CPU_H__ #include "tricore-defs.h" -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" #include "fpu/softfloat.h" diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 01c370c30d0848f25547422e88036c296b3b206b..9c1fbf9b77abbb08862efb96525e2bdf7850792b 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -19,7 +19,6 @@ #define CPUArchState struct CPUUniCore32State -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" #include "fpu/softfloat.h" diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h index 15ce0107d65a64633c13454ccf0fbdaca92bb66a..d0bd9dada857eb5b94812385888ec99b860e6145 100644 --- a/target-xtensa/cpu.h +++ b/target-xtensa/cpu.h @@ -33,7 +33,6 @@ #define CPUArchState struct CPUXtensaState -#include "config.h" #include "qemu-common.h" #include "exec/cpu-defs.h" #include "fpu/softfloat.h" diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 77e5952781fb1ce00d5f3599bbfea499cffe228b..3942f9cccf43b8e9f7d489aafeabb304bf84c89c 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -40,7 +40,6 @@ #if !defined(TCG_TARGET_H) #define TCG_TARGET_H -#include "config-host.h" #define TCG_TARGET_INTERPRETER 1 #define TCG_TARGET_INSN_UNIT_SIZE 1 diff --git a/tests/libqos/ahci.h b/tests/libqos/ahci.h index 69dc4d7ca90ff8fd9938af97e229393fe6b339d2..71dd7a6e5a82eb4851aef33dff17b71fe255d0e8 100644 --- a/tests/libqos/ahci.h +++ b/tests/libqos/ahci.h @@ -25,9 +25,6 @@ * THE SOFTWARE. */ -#include -#include -#include #include "libqos/libqos.h" #include "libqos/pci.h" #include "libqos/malloc-pc.h" diff --git a/tests/libqos/fw_cfg.h b/tests/libqos/fw_cfg.h index 61b1548b4e92795a979decd23246f29f637027d6..e8371b2317716e40284a3f2c12470814196557a7 100644 --- a/tests/libqos/fw_cfg.h +++ b/tests/libqos/fw_cfg.h @@ -13,8 +13,6 @@ #ifndef LIBQOS_FW_CFG_H #define LIBQOS_FW_CFG_H -#include -#include typedef struct QFWCFG QFWCFG; diff --git a/tests/libqos/i2c.h b/tests/libqos/i2c.h index c21f1dcbd599ee31a8790945bcbc9687b7d9671c..6e648f922a15670f219708d5d40d34742d82603e 100644 --- a/tests/libqos/i2c.h +++ b/tests/libqos/i2c.h @@ -9,7 +9,6 @@ #ifndef LIBQOS_I2C_H #define LIBQOS_I2C_H -#include typedef struct I2CAdapter I2CAdapter; struct I2CAdapter { diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h index 0c6c9b7f30750059689945a0fd45db4d00b47924..ae9dac8f6126ab44daf1664d2c8bdbc9b2e5b356 100644 --- a/tests/libqos/malloc.h +++ b/tests/libqos/malloc.h @@ -13,8 +13,6 @@ #ifndef LIBQOS_MALLOC_H #define LIBQOS_MALLOC_H -#include -#include #include "qemu/queue.h" typedef enum { diff --git a/tests/libqos/pci.h b/tests/libqos/pci.h index dfaee9ec37c2502df232d24a2f6b34be25182c9c..c06add8dbffe91e6e750bda27b91a5d2300f05e9 100644 --- a/tests/libqos/pci.h +++ b/tests/libqos/pci.h @@ -13,7 +13,6 @@ #ifndef LIBQOS_PCI_H #define LIBQOS_PCI_H -#include #include "libqtest.h" #define QPCI_DEVFN(dev, fn) (((dev) << 3) | (fn)) diff --git a/tests/libqtest.h b/tests/libqtest.h index ebdd5bbe537ccd78802a716ed90a0d291a26d484..37f37adbf7991cb82528b539fe23ade5989e7b26 100644 --- a/tests/libqtest.h +++ b/tests/libqtest.h @@ -17,13 +17,7 @@ #ifndef LIBQTEST_H #define LIBQTEST_H -#include -#include -#include -#include -#include #include "qapi/qmp/qdict.h" -#include "glib-compat.h" typedef struct QTestState QTestState; diff --git a/trace/control-internal.h b/trace/control-internal.h index 07cb1c16851f1d87cb3097becf9786ede45b3504..dcf67f505a11662e34aedcbc53cf2af666c02d45 100644 --- a/trace/control-internal.h +++ b/trace/control-internal.h @@ -10,7 +10,6 @@ #ifndef TRACE__CONTROL_INTERNAL_H #define TRACE__CONTROL_INTERNAL_H -#include extern TraceEvent trace_events[]; diff --git a/trace/ftrace.h b/trace/ftrace.h index 863e052e90b68ad68a6abe67fc49e3be7a1f01c8..92372e3caabd0e1898fade070213f7eb918baa9e 100644 --- a/trace/ftrace.h +++ b/trace/ftrace.h @@ -1,7 +1,6 @@ #ifndef TRACE_FTRACE_H #define TRACE_FTRACE_H -#include #define MAX_TRACE_STRLEN 512 diff --git a/trace/simple.h b/trace/simple.h index 8d1a32eba07cbef0f89ebdf57386e90c2650f1ea..1e7de455758960d1f7724f1b2760666366e83dee 100644 --- a/trace/simple.h +++ b/trace/simple.h @@ -11,9 +11,6 @@ #ifndef TRACE_SIMPLE_H #define TRACE_SIMPLE_H -#include -#include -#include #include "trace/generated-events.h" diff --git a/ui/vnc-palette.h b/ui/vnc-palette.h index d02f0236c1c69e8523289cd7aee8bf1e5edf2d2f..1bd4318f5365994dd09967344804ad980f45d239 100644 --- a/ui/vnc-palette.h +++ b/ui/vnc-palette.h @@ -31,8 +31,6 @@ #include "qapi/qmp/qlist.h" #include "qemu/queue.h" -#include -#include #define VNC_PALETTE_HASH_SIZE 256 #define VNC_PALETTE_MAX_SIZE 256 diff --git a/ui/vnc.h b/ui/vnc.h index a95cc1567820bca2026a395a24491a74edf66140..81a326116b6efa237742aeb41c2e8f0b4ee13f58 100644 --- a/ui/vnc.h +++ b/ui/vnc.h @@ -38,7 +38,6 @@ #include "io/channel-socket.h" #include "io/channel-tls.h" #include -#include #include "keymaps.h" #include "vnc-palette.h"