]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/vmmouse.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / i386 / vmmouse.c
index ae4cbc7add80262c291fd2509e82e3d2f171f95e..a3556438f0ff67db25a4f278c54c0aa687ebf100 100644 (file)
@@ -51,9 +51,7 @@
 #endif
 
 #define TYPE_VMMOUSE "vmmouse"
-typedef struct VMMouseState VMMouseState;
-DECLARE_INSTANCE_CHECKER(VMMouseState, VMMOUSE,
-                         TYPE_VMMOUSE)
+OBJECT_DECLARE_SIMPLE_TYPE(VMMouseState, VMMOUSE)
 
 struct VMMouseState {
     ISADevice parent_obj;