diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dbus-vmstate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/dbus-vmstate.c b/backends/dbus-vmstate.c index bfbd4f09f1..0ca9d52ae5 100644 --- a/backends/dbus-vmstate.c +++ b/backends/dbus-vmstate.c @@ -21,12 +21,10 @@ #include "trace.h" #include "qom/object.h" -typedef struct DBusVMState DBusVMState; -typedef struct DBusVMStateClass DBusVMStateClass; #define TYPE_DBUS_VMSTATE "dbus-vmstate" -DECLARE_OBJ_CHECKERS(DBusVMState, DBusVMStateClass, - DBUS_VMSTATE, TYPE_DBUS_VMSTATE) +OBJECT_DECLARE_TYPE(DBusVMState, DBusVMStateClass, + dbus_vmstate, DBUS_VMSTATE) struct DBusVMStateClass { ObjectClass parent_class; |