Eric Blake <ebl...@redhat.com> writes: > On 4/17/19 2:18 PM, Markus Armbruster wrote: >> 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-pinning is ugly. > > For consistency with other patches in the series, s/pinning/punning/
Typo, will fix. Thanks! >> >> Pass qemu_fprintf() and NULL instead. >> >> monitor_fprintf() is now unused; delete it. >> >> Signed-off-by: Markus Armbruster <arm...@redhat.com> >> Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> >> ---