summaryrefslogtreecommitdiff
path: root/include/hw/nmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/nmi.h')
-rw-r--r--include/hw/nmi.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/nmi.h b/include/hw/nmi.h
index d092c684a1..ad857f3832 100644
--- a/include/hw/nmi.h
+++ b/include/hw/nmi.h
@@ -34,9 +34,7 @@
#define NMI(obj) \
INTERFACE_CHECK(NMI, (obj), TYPE_NMI)
-typedef struct NMIState {
- Object parent_obj;
-} NMIState;
+typedef struct NMIState NMIState;
typedef struct NMIClass {
InterfaceClass parent_class;