qom/object: Move Object typedef to 'qemu/typedefs.h'
We use the Object type all over the place. Forward declare it in "qemu/typedefs.h". Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200504115656.6045-2-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ce8540fde2
commit
ca27b5eb7c
@ -20,7 +20,6 @@
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/qdev-core.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/virtio/vhost.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/pci-host/pam.h"
|
||||
|
||||
void init_pam(DeviceState *dev, MemoryRegion *ram_memory,
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/fw-path-provider.h"
|
||||
#include "hw/qdev-core.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
|
@ -1,9 +1,6 @@
|
||||
#ifndef EDID_H
|
||||
#define EDID_H
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
|
||||
typedef struct qemu_edid_info {
|
||||
const char *vendor; /* http://www.uefi.org/pnp_id_list */
|
||||
const char *name;
|
||||
|
@ -76,6 +76,7 @@ typedef struct NetFilterState NetFilterState;
|
||||
typedef struct NICInfo NICInfo;
|
||||
typedef struct NodeInfo NodeInfo;
|
||||
typedef struct NumaNodeMem NumaNodeMem;
|
||||
typedef struct Object Object;
|
||||
typedef struct ObjectClass ObjectClass;
|
||||
typedef struct PCIBridge PCIBridge;
|
||||
typedef struct PCIBus PCIBus;
|
||||
|
@ -20,8 +20,6 @@
|
||||
struct TypeImpl;
|
||||
typedef struct TypeImpl *Type;
|
||||
|
||||
typedef struct Object Object;
|
||||
|
||||
typedef struct TypeInfo TypeInfo;
|
||||
|
||||
typedef struct InterfaceClass InterfaceClass;
|
||||
|
@ -13,8 +13,6 @@
|
||||
#ifndef QEMU_QOM_QOBJECT_H
|
||||
#define QEMU_QOM_QOBJECT_H
|
||||
|
||||
#include "qom/object.h"
|
||||
|
||||
/*
|
||||
* object_property_get_qobject:
|
||||
* @obj: the object
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "qemu/uuid.h"
|
||||
#include "qom/object.h"
|
||||
|
||||
/* vl.c */
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qom/object.h"
|
||||
#include "hw/mem/memory-device.h"
|
||||
|
||||
MemoryDeviceInfoList *qmp_memory_device_list(void)
|
||||
|
Loading…
Reference in New Issue
Block a user