Skip to content

Commit

Permalink
qobject: 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>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1454089805-5470-12-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Feb 4, 2016
1 parent 2744d92 commit f2ad72b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qobject/json-lexer.c
Expand Up @@ -11,9 +11,9 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/qmp/json-lexer.h"
#include <stdint.h>

#define MAX_TOKEN_SIZE (64ULL << 20)

Expand Down
2 changes: 1 addition & 1 deletion qobject/json-parser.c
Expand Up @@ -11,7 +11,7 @@
*
*/

#include <stdarg.h>
#include "qemu/osdep.h"

#include "qemu-common.h"
#include "qapi/qmp/qstring.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/json-streamer.c
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/qmp/json-lexer.h"
#include "qapi/qmp/json-streamer.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qbool.c
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qbool.h"
#include "qapi/qmp/qobject.h"
#include "qemu-common.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qdict.c
Expand Up @@ -10,6 +10,7 @@
* See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qfloat.h"
#include "qapi/qmp/qdict.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qfloat.c
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qfloat.h"
#include "qapi/qmp/qobject.h"
#include "qemu-common.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qint.c
Expand Up @@ -10,6 +10,7 @@
* See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qobject.h"
#include "qemu-common.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qjson.c
Expand Up @@ -11,6 +11,7 @@
*
*/

#include "qemu/osdep.h"
#include "qapi/qmp/json-lexer.h"
#include "qapi/qmp/json-parser.h"
#include "qapi/qmp/json-streamer.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qlist.c
Expand Up @@ -10,6 +10,7 @@
* See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qlist.h"
#include "qapi/qmp/qobject.h"
#include "qemu/queue.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qnull.c
Expand Up @@ -10,6 +10,7 @@
* or later. See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/qmp/qobject.h"

Expand Down
1 change: 1 addition & 0 deletions qobject/qobject.c
Expand Up @@ -7,6 +7,7 @@
* or later. See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi/qmp/qbool.h"
#include "qapi/qmp/qdict.h"
Expand Down
1 change: 1 addition & 0 deletions qobject/qstring.c
Expand Up @@ -10,6 +10,7 @@
* See the COPYING.LIB file in the top-level directory.
*/

#include "qemu/osdep.h"
#include "qapi/qmp/qobject.h"
#include "qapi/qmp/qstring.h"
#include "qemu-common.h"
Expand Down

0 comments on commit f2ad72b

Please sign in to comment.