diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-02-01 12:18:38 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-02-09 13:52:15 +0100 |
commit | 47e6b297e76007c04a1e9c492006fe093d932cd9 (patch) | |
tree | 97e61115f914284d897b6824f913a259d45587fd /qobject | |
parent | 5ee9d2fe9e1e15d6e4a112220da3ad8a3512819b (diff) |
Include qapi/qmp/qlist.h exactly where needed
This cleanup makes the number of objects depending on qapi/qmp/qlist.h
drop from 4551 (out of 4743) to 16 in my "build everything" tree.
While there, separate #include from file comment with a blank line.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-12-armbru@redhat.com>
Diffstat (limited to 'qobject')
-rw-r--r-- | qobject/json-parser.c | 1 | ||||
-rw-r--r-- | qobject/qdict.c | 1 | ||||
-rw-r--r-- | qobject/qjson.c | 1 | ||||
-rw-r--r-- | qobject/qlit.c | 1 | ||||
-rw-r--r-- | qobject/qobject.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/qobject/json-parser.c b/qobject/json-parser.c index 8f4badc6d9..ee0cbba6a5 100644 --- a/qobject/json-parser.c +++ b/qobject/json-parser.c @@ -16,6 +16,7 @@ #include "qapi/error.h" #include "qemu-common.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qnull.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h" diff --git a/qobject/qdict.c b/qobject/qdict.c index 88f87d2527..23df84f9cd 100644 --- a/qobject/qdict.c +++ b/qobject/qdict.c @@ -14,6 +14,7 @@ #include "qapi/qmp/qnum.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qnull.h" #include "qapi/qmp/qstring.h" #include "qapi/error.h" diff --git a/qobject/qjson.c b/qobject/qjson.c index 7fbb68b6ba..527b5bb571 100644 --- a/qobject/qjson.c +++ b/qobject/qjson.c @@ -18,6 +18,7 @@ #include "qapi/qmp/json-streamer.h" #include "qapi/qmp/qjson.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qnum.h" #include "qemu/unicode.h" diff --git a/qobject/qlit.c b/qobject/qlit.c index c2d0303425..948e0b860c 100644 --- a/qobject/qlit.c +++ b/qobject/qlit.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qlit.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" diff --git a/qobject/qobject.c b/qobject/qobject.c index 5bbcd04812..23600aa1c1 100644 --- a/qobject/qobject.c +++ b/qobject/qobject.c @@ -13,6 +13,7 @@ #include "qapi/qmp/qnull.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qdict.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qstring.h" static void (*qdestroy[QTYPE__MAX])(QObject *) = { |