mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
monitor: remove MonitorDef from typedefs.h
MonitorDef is defined by hmp-target.h, and all users except one already include it; the reason why the stubs do not include it, is because hmp-target.h currently can only be used in files that are compiled per target. However, that is easily fixed. Because the benefit of having MonitorDef in typedefs.h is very small, do it and remove the type from typedefs.h. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a0d645100e
commit
f37c6c2e89
3 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
|||
#include "qemu/osdep.h"
|
||||
|
||||
const MonitorDef *target_monitor_defs(void);
|
||||
#include "monitor/hmp-target.h"
|
||||
|
||||
const MonitorDef *target_monitor_defs(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue