]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/s390x/storage-attributes.h
Use OBJECT_DECLARE_TYPE when possible
[mirror_qemu.git] / include / hw / s390x / storage-attributes.h
index efb28c48be307204a2ba70113ee57432fe39979f..5239eb538c1b087797867a247abfc14551af6a4d 100644 (file)
 #define TYPE_QEMU_S390_STATTRIB "s390-storage_attributes-qemu"
 #define TYPE_KVM_S390_STATTRIB "s390-storage_attributes-kvm"
 
-typedef struct S390StAttribClass S390StAttribClass;
-typedef struct S390StAttribState S390StAttribState;
-DECLARE_OBJ_CHECKERS(S390StAttribState, S390StAttribClass,
-                     S390_STATTRIB, TYPE_S390_STATTRIB)
+OBJECT_DECLARE_TYPE(S390StAttribState, S390StAttribClass, S390_STATTRIB)
 
 struct S390StAttribState {
     DeviceState parent_obj;