qemu-e2k/include/monitor
Markus Armbruster 30cc98315f monitor: Clean up how monitor_disas() funnels output to monitor
INIT_DISASSEMBLE_INFO() takes an fprintf()-like callback and a FILE *
to pass to it.  monitor_disas() 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.

Pass qemu_fprintf() and NULL instead.

monitor_fprintf() is now unused; delete it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417191805.28198-16-armbru@redhat.com>
[Commit message typo corrected]
2019-04-18 22:18:59 +02:00
..
hmp-target.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
monitor.h monitor: Clean up how monitor_disas() funnels output to monitor 2019-04-18 22:18:59 +02:00
qdev.h qdev: add function qdev_set_id() 2016-11-22 10:29:37 -08:00