]> git.proxmox.com Git - mirror_qemu.git/commit
include: Move endof() up from hw/virtio/virtio.h
authorMax Reitz <mreitz@redhat.com>
Fri, 11 Oct 2019 15:27:59 +0000 (17:27 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 28 Oct 2019 10:51:07 +0000 (11:51 +0100)
commit5d5b33c08031cfe0e9872bde1f9dcb2215f9b30a
tree81d3c7251d852c110533f297e500a5b238547a7e
parentf93c3add3a773e0e3f6277e5517583c4ad3a43c2
include: Move endof() up from hw/virtio/virtio.h

endof() is a useful macro, we can make use of it outside of virtio.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191011152814.14791-2-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
hw/block/virtio-blk.c
hw/net/virtio-net.c
include/hw/virtio/virtio.h
include/qemu/compiler.h