diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-02-01 12:18:35 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-02-09 13:52:15 +0100 |
commit | 6b67395762a4c8b6ca94364e0a0f616a6470c46a (patch) | |
tree | 6ca3237d7c98a02499507f9c3c01ed09a764be7c /tests/check-qjson.c | |
parent | 9f5c734d591e26186a71f9e36d752f4798df3672 (diff) | |
download | qemu-6b67395762a4c8b6ca94364e0a0f616a6470c46a.zip qemu-6b67395762a4c8b6ca94364e0a0f616a6470c46a.tar.gz qemu-6b67395762a4c8b6ca94364e0a0f616a6470c46a.tar.bz2 |
Eliminate qapi/qmp/types.h
qapi/qmp/types.h is a convenience header to include a number of
qapi/qmp/ headers. Since we rarely need all of the headers
qapi/qmp/types.h includes, we bypass it most of the time. Most of the
places that use it don't need all the headers, either.
Include the necessary headers directly, and drop qapi/qmp/types.h.
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-9-armbru@redhat.com>
Diffstat (limited to 'tests/check-qjson.c')
-rw-r--r-- | tests/check-qjson.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check-qjson.c b/tests/check-qjson.c index 5922793..7881009 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -14,7 +14,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qapi/qmp/types.h" +#include "qapi/qmp/qbool.h" #include "qapi/qmp/qjson.h" #include "qapi/qmp/qlit.h" #include "qemu-common.h" |