summary refs log tree commit diff stats
path: root/tests/check-qom-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-qom-interface.c')
-rw-r--r--tests/check-qom-interface.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/check-qom-interface.c b/tests/check-qom-interface.c
index f87c9aaa8a..2177f0dce5 100644
--- a/tests/check-qom-interface.c
+++ b/tests/check-qom-interface.c
@@ -23,9 +23,7 @@
 #define TEST_IF(obj) \
      INTERFACE_CHECK(TestIf, (obj), TYPE_TEST_IF)
 
-typedef struct TestIf {
-    Object parent_obj;
-} TestIf;
+typedef struct TestIf TestIf;
 
 typedef struct TestIfClass {
     InterfaceClass parent_class;