diff --git a/disas/i386.c b/disas/i386.c index d40b72ab10140f38f9e28320aae128c4a27fcf0a..394ffe14f3e4aca209f1bc6d2c70d84e0700fdb7 100644 --- a/disas/i386.c +++ b/disas/i386.c @@ -153,8 +153,6 @@ /* opcodes/i386-dis.c r1.126 */ #include "qemu-common.h" -#include - static int fetch_data2(struct disassemble_info *, bfd_byte *); static int fetch_data(struct disassemble_info *, bfd_byte *); static void ckprefix (void); diff --git a/disas/m68k.c b/disas/m68k.c index 0412ecd4b6883567c976971248fb6e2f15589d80..8f74ae1157e29308ef15d913f98097cbcfb76fca 100644 --- a/disas/m68k.c +++ b/disas/m68k.c @@ -615,8 +615,6 @@ static const char *const reg_half_names[] = /* Maximum length of an instruction. */ #define MAXLEN 22 -#include - struct private { /* Points to first byte not fetched. */ diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 7052eee7b78ad1e1c9ccf96e7a3dddd953ee9329..4a6def71175f21c447ee6375aa9093a09c19bbef 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -20,7 +20,6 @@ #ifndef QEMU_CPU_H #define QEMU_CPU_H -#include #include "hw/qdev-core.h" #include "disas/bfd.h" #include "exec/hwaddr.h" diff --git a/scripts/clean-includes b/scripts/clean-includes index 177d253eb9340db7c76343ec81d58c5597c9aa56..fb2a49c3b8a1fd294ddc7990688181d5b480cac5 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -140,7 +140,7 @@ for f in "$@"; do perl -n -i -e 'print if !/\s*#\s*include\s*(["<][^>"]*[">])/ || ! (grep { $_ eq $1 } qw ( "config-host.h" "qemu/compiler.h" "config.h" - + diff --git a/util/coroutine-sigaltstack.c b/util/coroutine-sigaltstack.c index 6b8aee7a2b779dbc571ff6de921e90cfa58f9ab9..a7c33665538b6e8ad32e5fb13474b73f1cf03cb2 100644 --- a/util/coroutine-sigaltstack.c +++ b/util/coroutine-sigaltstack.c @@ -26,7 +26,6 @@ #undef _FORTIFY_SOURCE #endif #include "qemu/osdep.h" -#include #include #include "qemu-common.h" #include "qemu/coroutine_int.h" diff --git a/util/coroutine-ucontext.c b/util/coroutine-ucontext.c index 4914f6019916eba9273e6c9710de95ff602f0e81..2bb7e10d4bfcdfcaed47548b3909daf2ec475594 100644 --- a/util/coroutine-ucontext.c +++ b/util/coroutine-ucontext.c @@ -23,7 +23,6 @@ #undef _FORTIFY_SOURCE #endif #include "qemu/osdep.h" -#include #include #include "qemu-common.h" #include "qemu/coroutine_int.h" diff --git a/util/oslib-posix.c b/util/oslib-posix.c index 7615be4e7a9fdab889930f32a92c5d6509668417..05c44ed4d246ba1864bf1f73ce532e0355f89792 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -49,7 +49,6 @@ #include "qemu/sockets.h" #include #include -#include #include #ifdef CONFIG_LINUX