diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:26 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:25 +0000 |
commit | 61d9f32b50e03d0d028237423531a888552728f1 (patch) | |
tree | 1b0bd087acd70faa39d7c2d766fa1fc9f8db0962 | |
parent | d24688fb85af498c91bd6704979b96b29c6f122f (diff) | |
download | qemu-61d9f32b50e03d0d028237423531a888552728f1.zip qemu-61d9f32b50e03d0d028237423531a888552728f1.tar.gz qemu-61d9f32b50e03d0d028237423531a888552728f1.tar.bz2 |
tricore: 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 <peter.maydell@linaro.org>
Message-id: 1453832250-766-34-git-send-email-peter.maydell@linaro.org
-rw-r--r-- | hw/tricore/tricore_testboard.c | 1 | ||||
-rw-r--r-- | target-tricore/cpu.c | 1 | ||||
-rw-r--r-- | target-tricore/helper.c | 6 | ||||
-rw-r--r-- | target-tricore/op_helper.c | 2 | ||||
-rw-r--r-- | target-tricore/translate.c | 1 |
5 files changed, 5 insertions, 6 deletions
diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 4ff5e7b..9392571 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -18,6 +18,7 @@ */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/devices.h" #include "net/net.h" diff --git a/target-tricore/cpu.c b/target-tricore/cpu.c index ed8b030..f8b8518 100644 --- a/target-tricore/cpu.c +++ b/target-tricore/cpu.c @@ -17,6 +17,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" diff --git a/target-tricore/helper.c b/target-tricore/helper.c index 1b70429..a8fd418 100644 --- a/target-tricore/helper.c +++ b/target-tricore/helper.c @@ -15,11 +15,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdarg.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> +#include "qemu/osdep.h" #include "cpu.h" diff --git a/target-tricore/op_helper.c b/target-tricore/op_helper.c index 53edbda..3aa6326 100644 --- a/target-tricore/op_helper.c +++ b/target-tricore/op_helper.c @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdlib.h> +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" diff --git a/target-tricore/translate.c b/target-tricore/translate.c index 135c583..2b07b86 100644 --- a/target-tricore/translate.c +++ b/target-tricore/translate.c @@ -18,6 +18,7 @@ */ +#include "qemu/osdep.h" #include "cpu.h" #include "disas/disas.h" #include "tcg-op.h" |