]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/char/escc.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / char / escc.h
index 5de2a39e77cb090a230a9b31c358d53613dc1b61..5eaec507dad20beede4b5dd4acbe209db241e1c0 100644 (file)
@@ -12,7 +12,8 @@
 #define ESCC_SIZE 4
 
 typedef struct ESCCState ESCCState;
-#define ESCC(obj) OBJECT_CHECK(ESCCState, (obj), TYPE_ESCC)
+DECLARE_INSTANCE_CHECKER(ESCCState, ESCC,
+                         TYPE_ESCC)
 
 typedef enum {
     escc_chn_a, escc_chn_b,