aboutsummaryrefslogtreecommitdiff
path: root/target/rx/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/rx/cpu-qom.h')
-rw-r--r--target/rx/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/rx/cpu-qom.h b/target/rx/cpu-qom.h
index dd96469e04..05f5773ab1 100644
--- a/target/rx/cpu-qom.h
+++ b/target/rx/cpu-qom.h
@@ -28,12 +28,8 @@
typedef struct RXCPU RXCPU;
typedef struct RXCPUClass RXCPUClass;
-#define RX_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(RXCPUClass, (klass), TYPE_RX_CPU)
-#define RX_CPU(obj) \
- OBJECT_CHECK(RXCPU, (obj), TYPE_RX_CPU)
-#define RX_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(RXCPUClass, (obj), TYPE_RX_CPU)
+DECLARE_OBJ_CHECKERS(RXCPU, RXCPUClass,
+ RX_CPU, TYPE_RX_CPU)
/*
* RXCPUClass: