aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:03 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commit30456d5ba3736b8f0c73560e559cdd2f76a4885e (patch)
treeb3d8dafbbbf8abb373dfaafcdd9926eb0365d58d /trace
parentb1e34d1c3a9059e87719634bfc4db53174d63e14 (diff)
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> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'trace')
-rw-r--r--trace/control-internal.h1
-rw-r--r--trace/ftrace.h1
-rw-r--r--trace/simple.h3
3 files changed, 0 insertions, 5 deletions
diff --git a/trace/control-internal.h b/trace/control-internal.h
index 07cb1c1685..dcf67f505a 100644
--- a/trace/control-internal.h
+++ b/trace/control-internal.h
@@ -10,7 +10,6 @@
#ifndef TRACE__CONTROL_INTERNAL_H
#define TRACE__CONTROL_INTERNAL_H
-#include <string.h>
extern TraceEvent trace_events[];
diff --git a/trace/ftrace.h b/trace/ftrace.h
index 863e052e90..92372e3caa 100644
--- a/trace/ftrace.h
+++ b/trace/ftrace.h
@@ -1,7 +1,6 @@
#ifndef TRACE_FTRACE_H
#define TRACE_FTRACE_H
-#include <stdbool.h>
#define MAX_TRACE_STRLEN 512
diff --git a/trace/simple.h b/trace/simple.h
index 8d1a32eba0..1e7de45575 100644
--- a/trace/simple.h
+++ b/trace/simple.h
@@ -11,9 +11,6 @@
#ifndef TRACE_SIMPLE_H
#define TRACE_SIMPLE_H
-#include <stdint.h>
-#include <stdbool.h>
-#include <stdio.h>
#include "trace/generated-events.h"