Skip to content

Commit

Permalink
qom: Clean up includes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pm215 committed Feb 4, 2016
1 parent f2ad72b commit 9bbc853
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qom/container.c
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions qom/object.c
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions qom/object_interfaces.c
@@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "qom/object_interfaces.h"
#include "qemu/module.h"

Expand Down
1 change: 1 addition & 0 deletions qom/qom-qobject.c
Expand Up @@ -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"
Expand Down

0 comments on commit 9bbc853

Please sign in to comment.