summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:50:02 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:31:48 -0600
commitcff6f52265af75bc09e38038aeb8aa958aef1188 (patch)
tree5a67ca5a9643039a17857fa80c62efee7e3b9d11
parent390b19a3a0e1fef1c20490edb7ef8df90f07f382 (diff)
downloadhqemu-cff6f52265af75bc09e38038aeb8aa958aef1188.zip
hqemu-cff6f52265af75bc09e38038aeb8aa958aef1188.tar.gz
qom: 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-13-git-send-email-peter.maydell@linaro.org
-rw-r--r--qom/container.c2
-rw-r--r--qom/object.c1
-rw-r--r--qom/object_interfaces.c1
-rw-r--r--qom/qom-qobject.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/qom/container.c b/qom/container.c
index 62b1648..c9eb49b 100644
--- a/qom/container.c
+++ b/qom/container.c
@@ -10,9 +10,9 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qom/object.h"
#include "qemu/module.h"
-#include <assert.h>
static const TypeInfo container_info = {
.name = "container",
diff --git a/qom/object.c b/qom/object.c
index 196f74f..1a8bb35 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -10,6 +10,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qom/object.h"
#include "qom/object_interfaces.h"
#include "qemu-common.h"
diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c
index a66cd60..f1218f0 100644
--- a/qom/object_interfaces.c
+++ b/qom/object_interfaces.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qom/object_interfaces.h"
#include "qemu/module.h"
diff --git a/qom/qom-qobject.c b/qom/qom-qobject.c
index 9649890..9cbc4c6 100644
--- a/qom/qom-qobject.c
+++ b/qom/qom-qobject.c
@@ -9,6 +9,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qom/object.h"
#include "qom/qom-qobject.h"
OpenPOWER on IntegriCloud