]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qobject: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 17:50:01 +0000 (17:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 4 Feb 2016 17:41:30 +0000 (17:41 +0000)
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

12 files changed:
qobject/json-lexer.c
qobject/json-parser.c
qobject/json-streamer.c
qobject/qbool.c
qobject/qdict.c
qobject/qfloat.c
qobject/qint.c
qobject/qjson.c
qobject/qlist.c
qobject/qnull.c
qobject/qobject.c
qobject/qstring.c

index 92798ae3a4d8d633302f670d9dcee0b381618d4c..496374d9ab95546cd260e731b7d1a3a48f835add 100644 (file)
@@ -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)
 
index 3c5d35d7b01d942e0e0ea4fc37631c84d187c6ae..77c9382c5e277ec164ca91482c49ce6ec67a0dc0 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 
-#include <stdarg.h>
+#include "qemu/osdep.h"
 
 #include "qemu-common.h"
 #include "qapi/qmp/qstring.h"
index a4db4b832e0898c15f49952cfc0409dce4d5e392..02516853a13d50a1287af5e48d7774f80e945d19 100644 (file)
@@ -11,6 +11,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qapi/qmp/json-lexer.h"
 #include "qapi/qmp/json-streamer.h"
index 856c7433577041982950b6ca14cbbefed9b42696..0606bbd2a337e4b202669e02c7d0967b9d3f4f50 100644 (file)
@@ -11,6 +11,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qobject.h"
 #include "qemu-common.h"
index 19df837c552d0cc668a5f0e51af1907b9896a432..9833bd0730b201e475e94ac9689e0bf3c44e3366 100644 (file)
@@ -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"
index 87d89a772122eeed4cafb5f6f7899f44a8fffdfd..d5da847701d269d2922f3aae23e62e911ed667ca 100644 (file)
@@ -11,6 +11,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "qapi/qmp/qfloat.h"
 #include "qapi/qmp/qobject.h"
 #include "qemu-common.h"
index 7cba9adf40c0b85570ec89f5c07e78e2d65db5f3..d7d1b3021fa39778130412e51dd52c07bf9a8614 100644 (file)
@@ -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"
index a3e6a7ca422680874a967baae60823960784b879..b8cc4ca9641aa2ea37365769c591b91dd980f894 100644 (file)
@@ -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"
index 3c045aed11e95b3b4af9662b34c5e38c1b572cd7..1ec74de2b39434fef249bb18a8f8c8015c2bb558 100644 (file)
@@ -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"
index 5f7ba4d01a9dafef9ce5f93a0c9561ffffaa4ab7..c124d0585eb9edcc8e63b32dde5189e0613d0edd 100644 (file)
@@ -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"
 
index a3ef14eb55a158083e95d87a3f24eb4f50e574b4..cd41fb940b9b4469acee01bb72d19a16ac8b4da7 100644 (file)
@@ -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"
index f44c5c424d1ed9cbb0b343b0647a74ea991f24f0..5da7b5f37c3a1ef4ed077f0adc641a1090019724 100644 (file)
@@ -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"