From 5af98cc5731061fc0321cd2c4c23c7e39cca0d9d Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:01 +0000 Subject: unicore: 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: 1453832250-766-9-git-send-email-peter.maydell@linaro.org --- target-unicore32/cpu.c | 1 + target-unicore32/helper.c | 1 + target-unicore32/op_helper.c | 1 + target-unicore32/softmmu.c | 1 + target-unicore32/translate.c | 6 +----- target-unicore32/ucf64_helper.c | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) (limited to 'target-unicore32') diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c index e5252ebaf8..c92ccc4251 100644 --- a/target-unicore32/cpu.c +++ b/target-unicore32/cpu.c @@ -12,6 +12,7 @@ * or (at your option) any later version. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "migration/vmstate.h" diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index ae63277c84..21f5f35744 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -9,6 +9,7 @@ * or (at your option) any later version. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/gdbstub.h" #include "exec/helper-proto.h" diff --git a/target-unicore32/op_helper.c b/target-unicore32/op_helper.c index 0266dbdf7b..f5847307a3 100644 --- a/target-unicore32/op_helper.c +++ b/target-unicore32/op_helper.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target-unicore32/softmmu.c b/target-unicore32/softmmu.c index 9a3786dddb..d267fed875 100644 --- a/target-unicore32/softmmu.c +++ b/target-unicore32/softmmu.c @@ -12,6 +12,7 @@ #error This file only exist under softmmu circumstance #endif +#include "qemu/osdep.h" #include #undef DEBUG_UC32 diff --git a/target-unicore32/translate.c b/target-unicore32/translate.c index d2f92f02fc..5db8f94931 100644 --- a/target-unicore32/translate.c +++ b/target-unicore32/translate.c @@ -8,11 +8,7 @@ * published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" diff --git a/target-unicore32/ucf64_helper.c b/target-unicore32/ucf64_helper.c index 5af008fc6f..6c919010c3 100644 --- a/target-unicore32/ucf64_helper.c +++ b/target-unicore32/ucf64_helper.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation, or any later version. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -- cgit v1.2.3