diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-04 18:20:06 +0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-12-11 15:45:22 -0200 |
commit | aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2 (patch) | |
tree | f9c797fb1b6eaa12c268d32f83ba484df9b5c4a3 /target/arm/idau.h | |
parent | ef24052386d4a3c9cf10016cdf0f72b8a90728ae (diff) | |
download | qemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.zip qemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.tar.gz qemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.tar.bz2 |
qom: make interface types abstract
Interfaces don't have instance, let's make the interface type really
abstract to avoid confusion.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20181204142023.15982-3-marcandre.lureau@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/arm/idau.h')
-rw-r--r-- | target/arm/idau.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/arm/idau.h b/target/arm/idau.h index cac27b9..7c0e4e3 100644 --- a/target/arm/idau.h +++ b/target/arm/idau.h @@ -38,9 +38,7 @@ #define IDAU_INTERFACE_GET_CLASS(obj) \ OBJECT_GET_CLASS(IDAUInterfaceClass, (obj), TYPE_IDAU_INTERFACE) -typedef struct IDAUInterface { - Object parent; -} IDAUInterface; +typedef struct IDAUInterface IDAUInterface; #define IREGION_NOTVALID -1 |