diff options
| author | Markus Armbruster <armbru@redhat.com> | 2018-02-01 12:18:34 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2018-02-09 13:52:15 +0100 |
| commit | 9f5c734d591e26186a71f9e36d752f4798df3672 (patch) | |
| tree | 7730a734ae8c34ddef0b4e6a5424c1a0477c2a35 /include/qapi/qmp/qbool.h | |
| parent | abb297ed4408e3859776a1a3c91d99225b9795b9 (diff) | |
| download | focaccia-qemu-9f5c734d591e26186a71f9e36d752f4798df3672.tar.gz focaccia-qemu-9f5c734d591e26186a71f9e36d752f4798df3672.zip | |
Typedef the subtypes of QObject in qemu/typedefs.h, too
This renders many inclusions of qapi/qmp/q*.h superfluous. They'll be dropped in the next few commits. 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-8-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp/qbool.h')
| -rw-r--r-- | include/qapi/qmp/qbool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qapi/qmp/qbool.h b/include/qapi/qmp/qbool.h index f77ea86c4e..629c508d34 100644 --- a/include/qapi/qmp/qbool.h +++ b/include/qapi/qmp/qbool.h @@ -16,10 +16,10 @@ #include "qapi/qmp/qobject.h" -typedef struct QBool { +struct QBool { QObject base; bool value; -} QBool; +}; QBool *qbool_from_bool(bool value); bool qbool_get_bool(const QBool *qb); |