From 48d4ab25e7d81328f65a942bf4643c4eb1399ddf Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 29 Jan 2016 17:49:56 +0000 Subject: [PATCH] disas: 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. Signed-off-by: Peter Maydell Message-id: 1454089805-5470-7-git-send-email-peter.maydell@linaro.org --- disas/hppa.c | 1 + disas/i386.c | 2 +- disas/ia64.c | 3 +-- disas/m68k.c | 3 +-- disas/s390.c | 1 + disas/sparc.c | 2 +- disas/tci.c | 1 + 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/disas/hppa.c b/disas/hppa.c index c7c8be66a2..43facdc47b 100644 --- a/disas/hppa.c +++ b/disas/hppa.c @@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#include "qemu/osdep.h" #include "disas/bfd.h" /* HP PA-RISC SOM object file format: definitions internal to BFD. diff --git a/disas/i386.c b/disas/i386.c index c63d4a06e4..d40b72ab10 100644 --- a/disas/i386.c +++ b/disas/i386.c @@ -31,7 +31,7 @@ and the small letter tells about the operand size. Refer to the Intel manual for details. */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" /* include/opcode/i386.h r1.78 */ diff --git a/disas/ia64.c b/disas/ia64.c index d7c7bdfc51..140754c944 100644 --- a/disas/ia64.c +++ b/disas/ia64.c @@ -18,7 +18,7 @@ along with this file; see the file COPYING. If not, see . */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" @@ -27,7 +27,6 @@ Free Software Foundation, Inc. Contributed by David Mosberger-Tang */ -#include typedef uint64_t ia64_insn; diff --git a/disas/m68k.c b/disas/m68k.c index cc0db96cae..0412ecd4b6 100644 --- a/disas/m68k.c +++ b/disas/m68k.c @@ -1,9 +1,8 @@ /* This file is composed of several different files from the upstream sourceware.org CVS. Original file boundaries marked with **** */ -#include +#include "qemu/osdep.h" #include -#include #include "disas/bfd.h" diff --git a/disas/s390.c b/disas/s390.c index c29bc4e697..1f167d2eaa 100644 --- a/disas/s390.c +++ b/disas/s390.c @@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" diff --git a/disas/sparc.c b/disas/sparc.c index 59a1e36cf7..64bba8df27 100644 --- a/disas/sparc.c +++ b/disas/sparc.c @@ -26,7 +26,7 @@ along with GAS or GDB; see the file COPYING. If not, see . */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" /* The SPARC opcode table (and other related data) is defined in diff --git a/disas/tci.c b/disas/tci.c index d7b954e62f..1cdf5eeafc 100644 --- a/disas/tci.c +++ b/disas/tci.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" #include "tcg/tcg.h"