From c6c6958c98687543bcb12bdf5492e7a48d535511 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Thu, 21 Nov 2013 18:36:42 +0100 Subject: [PATCH] memory: Add MemoryListener to typedefs.h Reviewed-by: Peter Maydell Signed-off-by: Edgar E. Iglesias --- include/exec/memory.h | 2 -- include/qemu/typedefs.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 296d6ab2f4..9101fc3a55 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -163,8 +163,6 @@ struct MemoryRegion { NotifierList iommu_notify; }; -typedef struct MemoryListener MemoryListener; - /** * MemoryListener: callbacks structure for updates to the physical memory map * diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 45244960b5..5b4e333fc1 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -26,6 +26,7 @@ typedef struct BusClass BusClass; typedef struct AddressSpace AddressSpace; typedef struct MemoryRegion MemoryRegion; typedef struct MemoryRegionSection MemoryRegionSection; +typedef struct MemoryListener MemoryListener; typedef struct MemoryMappingList MemoryMappingList; -- 2.11.0