summaryrefslogtreecommitdiffstats
path: root/trace
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:03 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:31 -0600
commit354d6fc3e8015cb40357ff6e5e94ad4f449cca7d (patch)
treebb64d0249ab151b6ae912e866f0e298a443800e5 /trace
parentc11f295a54db6ee654f56ba905012226ca40dbf6 (diff)
downloadhqemu-354d6fc3e8015cb40357ff6e5e94ad4f449cca7d.zip
hqemu-354d6fc3e8015cb40357ff6e5e94ad4f449cca7d.tar.gz
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 07cb1c1..dcf67f5 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 863e052..92372e3 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 8d1a32e..1e7de45 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"
OpenPOWER on IntegriCloud