mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
ba4912cb0d
st_print_trace_file_status() takes an fprintf()-like callback and a FILE * to pass to it. Its only caller hmp_trace_file() passes monitor_fprintf() and the current monitor cast to FILE *. monitor_fprintf() casts it right back, and is otherwise identical to monitor_printf(). The type-punning is ugly. Drop the callback, and call qemu_printf() instead. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20190417191805.28198-3-armbru@redhat.com> |
||
---|---|---|
.. | ||
control-internal.h | ||
control-target.c | ||
control.c | ||
control.h | ||
event-internal.h | ||
ftrace.c | ||
ftrace.h | ||
Makefile.objs | ||
mem-internal.h | ||
mem.h | ||
qmp.c | ||
simple.c | ||
simple.h |