From aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Tue, 4 Dec 2018 18:20:06 +0400 Subject: 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 Reviewed-by: Igor Mammedov Reviewed-by: Eduardo Habkost Message-Id: <20181204142023.15982-3-marcandre.lureau@redhat.com> Signed-off-by: Eduardo Habkost --- include/hw/fw-path-provider.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/hw/fw-path-provider.h') diff --git a/include/hw/fw-path-provider.h b/include/hw/fw-path-provider.h index 050cb05d92..5df893a3d8 100644 --- a/include/hw/fw-path-provider.h +++ b/include/hw/fw-path-provider.h @@ -30,9 +30,7 @@ #define FW_PATH_PROVIDER(obj) \ INTERFACE_CHECK(FWPathProvider, (obj), TYPE_FW_PATH_PROVIDER) -typedef struct FWPathProvider { - Object parent_obj; -} FWPathProvider; +typedef struct FWPathProvider FWPathProvider; typedef struct FWPathProviderClass { InterfaceClass parent_class; -- cgit v1.2.3-55-g7522