Re: [Qemu-block] [PATCH v2 2/7] virtio: Add typedef for handle_output

2016-06-28 Thread Stefan Hajnoczi
On Fri, Jun 24, 2016 at 08:39:29PM +0800, Fam Zheng wrote: > The function pointer signature has been repeated a few times, using a > typedef may make coding easier. > > Signed-off-by: Fam Zheng > --- > hw/virtio/virtio.c | 9 - > include/hw/virtio/virtio.h | 5

[Qemu-block] [PATCH v2 2/7] virtio: Add typedef for handle_output

2016-06-24 Thread Fam Zheng
The function pointer signature has been repeated a few times, using a typedef may make coding easier. Signed-off-by: Fam Zheng --- hw/virtio/virtio.c | 9 - include/hw/virtio/virtio.h | 5 +++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git