OSDN Git Service

qom/object: Remove circular include dependency
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 9 May 2022 08:46:59 +0000 (10:46 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 28 Jun 2022 08:53:32 +0000 (10:53 +0200)
"qom/object.h" doesn't need to include itself.

Fixes: db1015e92e04 ("Move QOM typedefs and add missing includes")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220509084659.52076-1-philippe.mathieu.daude@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/qom/object.h

index 5f3d5b5..ef7258a 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "qapi/qapi-builtin-types.h"
 #include "qemu/module.h"
-#include "qom/object.h"
 
 struct TypeImpl;
 typedef struct TypeImpl *Type;