mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 04:21:50 -06:00
migration/vmstate: Remove unnecessary MemoryRegion forward declaration
"migration/vmstate.h" only uses pointer to MemoryRegion, which is already forward declared in "qemu/typedefs.h". Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200530165512.15225-1-f4bug@amsat.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
93bb3d8d4c
commit
e0d138aa9b
1 changed files with 0 additions and 1 deletions
|
@ -1199,7 +1199,6 @@ static inline int vmstate_register(VMStateIf *obj, int instance_id,
|
||||||
void vmstate_unregister(VMStateIf *obj, const VMStateDescription *vmsd,
|
void vmstate_unregister(VMStateIf *obj, const VMStateDescription *vmsd,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
struct MemoryRegion;
|
|
||||||
void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev);
|
void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev);
|
||||||
void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
|
void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
|
||||||
void vmstate_register_ram_global(struct MemoryRegion *memory);
|
void vmstate_register_ram_global(struct MemoryRegion *memory);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue