diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-03-17 17:22:46 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-06-22 18:20:41 +0200 |
commit | cc7a8ea740ec74a144e866a1d24aa6b490e31923 (patch) | |
tree | 1bb5f94977aa90e5163360cb1dd2e9a4d0f94ee8 /block | |
parent | d49b68364414d649b8e26232f2a600d415611662 (diff) |
Include qapi/qmp/qerror.h exactly where needed
In particular, don't include it into headers.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/backup.c | 1 | ||||
-rw-r--r-- | block/commit.c | 1 | ||||
-rw-r--r-- | block/mirror.c | 1 | ||||
-rw-r--r-- | block/qcow.c | 1 | ||||
-rw-r--r-- | block/quorum.c | 1 | ||||
-rw-r--r-- | block/snapshot.c | 1 | ||||
-rw-r--r-- | block/stream.c | 1 | ||||
-rw-r--r-- | block/vmdk.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/block/backup.c b/block/backup.c index 35145cbe03..4a1af68c32 100644 --- a/block/backup.c +++ b/block/backup.c @@ -19,6 +19,7 @@ #include "block/block.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" #define BACKUP_CLUSTER_BITS 16 diff --git a/block/commit.c b/block/commit.c index 6c01feaa06..7312a5bdc0 100644 --- a/block/commit.c +++ b/block/commit.c @@ -15,6 +15,7 @@ #include "trace.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" enum { diff --git a/block/mirror.c b/block/mirror.c index e3e51a2cce..048e452d17 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -14,6 +14,7 @@ #include "trace.h" #include "block/blockjob.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" #include "qemu/bitmap.h" diff --git a/block/qcow.c b/block/qcow.c index 54152f9974..733627fbf2 100644 --- a/block/qcow.c +++ b/block/qcow.c @@ -25,6 +25,7 @@ #include "block/block_int.h" #include "qemu/module.h" #include <zlib.h> +#include "qapi/qmp/qerror.h" #include "qemu/aes.h" #include "migration/migration.h" diff --git a/block/quorum.c b/block/quorum.c index 9aceabd1b3..a7df17c185 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -18,6 +18,7 @@ #include "block/block_int.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qdict.h" +#include "qapi/qmp/qerror.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qjson.h" #include "qapi/qmp/qlist.h" diff --git a/block/snapshot.c b/block/snapshot.c index 7cd960cda7..19395ae014 100644 --- a/block/snapshot.c +++ b/block/snapshot.c @@ -24,6 +24,7 @@ #include "block/snapshot.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" QemuOptsList internal_snapshot_opts = { .name = "snapshot", diff --git a/block/stream.c b/block/stream.c index f17efdb90f..ab0bd057f7 100644 --- a/block/stream.c +++ b/block/stream.c @@ -14,6 +14,7 @@ #include "trace.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" enum { diff --git a/block/vmdk.c b/block/vmdk.c index b7f3f213ea..fbaab67c8f 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -25,6 +25,7 @@ #include "qemu-common.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "migration/migration.h" |