diff options
| author | Markus Armbruster <armbru@redhat.com> | 2015-10-15 16:15:32 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2015-10-29 14:34:44 +0100 |
| commit | c7c462123cfc3b62d325fd75be9c595b055797db (patch) | |
| tree | 54e15b5deb29284a5162804028a4de863a2b5192 /include/qapi/qmp/qobject.h | |
| parent | 7bc8e0c967a4ef77657174d28af775691e18b4ce (diff) | |
| download | focaccia-qemu-c7c462123cfc3b62d325fd75be9c595b055797db.tar.gz focaccia-qemu-c7c462123cfc3b62d325fd75be9c595b055797db.zip | |
qobject: Drop QObject_HEAD
QObject_HEAD is a macro expanding into the common part of structs that are sub-types of QObject. It's always been just QObject base, and unlikely to change. Drop the macro, because the code is clearer with out it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1444918537-18107-2-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/qapi/qmp/qobject.h')
| -rw-r--r-- | include/qapi/qmp/qobject.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/qapi/qmp/qobject.h b/include/qapi/qmp/qobject.h index 260d2ed3cc..c856f553b7 100644 --- a/include/qapi/qmp/qobject.h +++ b/include/qapi/qmp/qobject.h @@ -59,10 +59,6 @@ typedef struct QObject { size_t refcnt; } QObject; -/* Objects definitions must include this */ -#define QObject_HEAD \ - QObject base - /* Get the 'base' part of an object */ #define QOBJECT(obj) (&(obj)->base) |