aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-02-01 12:18:38 +0100
committerMarkus Armbruster <armbru@redhat.com>2018-02-09 13:52:15 +0100
commit47e6b297e76007c04a1e9c492006fe093d932cd9 (patch)
tree97e61115f914284d897b6824f913a259d45587fd /util
parent5ee9d2fe9e1e15d6e4a112220da3ad8a3512819b (diff)
downloadqemu-47e6b297e76007c04a1e9c492006fe093d932cd9.zip
qemu-47e6b297e76007c04a1e9c492006fe093d932cd9.tar.gz
qemu-47e6b297e76007c04a1e9c492006fe093d932cd9.tar.bz2
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 'util')
-rw-r--r--util/keyval.c1
-rw-r--r--util/qemu-config.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/keyval.c b/util/keyval.c
index 7dfc75c..4085282 100644
--- a/util/keyval.c
+++ b/util/keyval.c
@@ -81,6 +81,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
+#include "qapi/qmp/qlist.h"
#include "qapi/qmp/qstring.h"
#include "qemu/cutils.h"
#include "qemu/option.h"
diff --git a/util/qemu-config.c b/util/qemu-config.c
index 26ea248..230c699 100644
--- a/util/qemu-config.c
+++ b/util/qemu-config.c
@@ -1,5 +1,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
+#include "qapi/qmp/qlist.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "qemu/option.h"