diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-02 17:09:39 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 15:47:48 +0200 |
commit | f37c6c2e89d3b8d3376ddc74b5357e56f49ccb9c (patch) | |
tree | 03cd02d855cdd08cfe118ae9dc285121aca29abc /stubs | |
parent | a0d645100eba45a96f009528ec0fec14b4b35956 (diff) | |
download | qemu-f37c6c2e89d3b8d3376ddc74b5357e56f49ccb9c.zip qemu-f37c6c2e89d3b8d3376ddc74b5357e56f49ccb9c.tar.gz qemu-f37c6c2e89d3b8d3376ddc74b5357e56f49ccb9c.tar.bz2 |
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>
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/target-monitor-defs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stubs/target-monitor-defs.c b/stubs/target-monitor-defs.c index ac07b19..35a0a34 100644 --- a/stubs/target-monitor-defs.c +++ b/stubs/target-monitor-defs.c @@ -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) { |