diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 17:50:05 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-04 17:41:30 +0000 |
commit | d38ea87ac54af64ef611de434d07c12dc0399216 (patch) | |
tree | 58bf1154cf210524d587a66cf3605adb5ada6489 /trace | |
parent | ccd241b5a2223c502441714d413d569565e4a3b4 (diff) | |
download | qemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.gz qemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.bz2 qemu-d38ea87ac54af64ef611de434d07c12dc0399216.zip |
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 <peter.maydell@linaro.org>
Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'trace')
-rw-r--r-- | trace/control.c | 1 | ||||
-rw-r--r-- | trace/ftrace.c | 5 | ||||
-rw-r--r-- | trace/qmp.c | 1 | ||||
-rw-r--r-- | trace/simple.c | 6 |
4 files changed, 4 insertions, 9 deletions
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 <stdio.h> -#include <string.h> -#include <fcntl.h> -#include <limits.h> +#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 <stdlib.h> -#include <stdint.h> -#include <stdio.h> -#include <time.h> +#include "qemu/osdep.h" #ifndef _WIN32 -#include <signal.h> #include <pthread.h> #endif #include "qemu/timer.h" |