exec/address-spaces.h: Remove unuseful 'exec/memory.h' include
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 16 Dec 2022 23:17:14 +0000 (00:17 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (19:47 +0200)
"exec/address-spaces.h" declares get_system_io() and
get_system_memory(), both returning a MemoryRegion pointer.
MemoryRegion is forward declared in "qemu/typedefs.h", so
we don't need any declaration from "exec/memory.h" here.
Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-4-philmd@linaro.org>

include/exec/address-spaces.h

index db8bfa9a92ba65d929b2da38010f8e8e7f4b7a62..0d0aa61d68966a56e65e35cc6f38687b7e16816f 100644 (file)
@@ -19,8 +19,6 @@
  * you're one of them.
  */
 
-#include "exec/memory.h"
-
 #ifndef CONFIG_USER_ONLY
 
 /* Get the root memory region.  This interface should only be used temporarily