From d38ea87ac54af64ef611de434d07c12dc0399216 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 29 Jan 2016 17:50:05 +0000 Subject: all: 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-16-git-send-email-peter.maydell@linaro.org --- trace/control.c | 1 + trace/ftrace.c | 5 +---- trace/qmp.c | 1 + trace/simple.c | 6 +----- 4 files changed, 4 insertions(+), 9 deletions(-) (limited to 'trace') diff --git a/trace/control.c b/trace/control.c index 84ea840892..20d3370bf8 100644 --- a/trace/control.c +++ b/trace/control.c @@ -7,6 +7,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "trace/control.h" #ifdef CONFIG_TRACE_SIMPLE #include "trace/simple.h" diff --git a/trace/ftrace.c b/trace/ftrace.c index a7ae371e6f..e953922f5b 100644 --- a/trace/ftrace.c +++ b/trace/ftrace.c @@ -9,10 +9,7 @@ * */ -#include -#include -#include -#include +#include "qemu/osdep.h" #include "trace.h" #include "trace/control.h" diff --git a/trace/qmp.c b/trace/qmp.c index 0b19489528..6320b4b3b1 100644 --- a/trace/qmp.c +++ b/trace/qmp.c @@ -7,6 +7,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "qemu/typedefs.h" #include "qmp-commands.h" #include "trace/control.h" diff --git a/trace/simple.c b/trace/simple.c index e8594cd00d..3fdcc82263 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -8,12 +8,8 @@ * */ -#include -#include -#include -#include +#include "qemu/osdep.h" #ifndef _WIN32 -#include #include #endif #include "qemu/timer.h" -- cgit v1.2.3-55-g7522