aboutsummaryrefslogtreecommitdiff
path: root/target/hppa/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/hppa/cpu-qom.h')
-rw-r--r--target/hppa/cpu-qom.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/hppa/cpu-qom.h b/target/hppa/cpu-qom.h
index 5c5aa0c053..58158f374b 100644
--- a/target/hppa/cpu-qom.h
+++ b/target/hppa/cpu-qom.h
@@ -25,10 +25,8 @@
#define TYPE_HPPA_CPU "hppa-cpu"
-typedef struct HPPACPU HPPACPU;
-typedef struct HPPACPUClass HPPACPUClass;
-DECLARE_OBJ_CHECKERS(HPPACPU, HPPACPUClass,
- HPPA_CPU, TYPE_HPPA_CPU)
+OBJECT_DECLARE_TYPE(HPPACPU, HPPACPUClass,
+ hppa_cpu, HPPA_CPU)
/**
* HPPACPUClass: