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 /block | |
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 'block')
-rw-r--r-- | block/qapi.c | 1 | ||||
-rw-r--r-- | block/rbd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/block/qapi.c b/block/qapi.c index 1e0cb2743d..12a8cb5a82 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -32,6 +32,7 @@ #include "qapi/error.h" #include "qapi/qobject-output-visitor.h" #include "qapi/qmp/qbool.h" +#include "qapi/qmp/qlist.h" #include "qapi/qmp/qnum.h" #include "qapi/qmp/qstring.h" #include "sysemu/block-backend.h" diff --git a/block/rbd.c b/block/rbd.c index a76a5e8755..76b9e83cea 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -21,6 +21,7 @@ #include "qemu/cutils.h" #include "qapi/qmp/qstring.h" #include "qapi/qmp/qjson.h" +#include "qapi/qmp/qlist.h" /* * When specifying the image filename use: |