]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/xen/xen-block.h
Use OBJECT_DECLARE_TYPE when possible
[mirror_qemu.git] / include / hw / xen / xen-block.h
index 8ff5421dc3439f9369fcb5ba15c91f709dd1b507..a74fd9384f1431c2d501b0d7fc4987d5922c976e 100644 (file)
@@ -68,11 +68,9 @@ struct XenBlockDeviceClass {
     XenBlockDeviceRealize realize;
     XenBlockDeviceUnrealize unrealize;
 };
-typedef struct XenBlockDeviceClass XenBlockDeviceClass;
 
 #define TYPE_XEN_BLOCK_DEVICE  "xen-block"
-DECLARE_OBJ_CHECKERS(XenBlockDevice, XenBlockDeviceClass,
-                     XEN_BLOCK_DEVICE, TYPE_XEN_BLOCK_DEVICE)
+OBJECT_DECLARE_TYPE(XenBlockDevice, XenBlockDeviceClass, XEN_BLOCK_DEVICE)
 
 struct XenDiskDevice {
     XenBlockDevice blockdev;