diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-13 13:43:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:30:52 +0100 |
commit | b078dc3cfec2d6d037caef91204ebf0a78e7ac06 (patch) | |
tree | 7ff8698b49bc120d34198d84016e4b959916160d /qemu-aio.h | |
parent | 1c53786fbdbdf20a3a6c556e09abb4d63ee7843e (diff) |
aio: change qemu_aio_set_fd_handler to return void
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-aio.h')
-rw-r--r-- | qemu-aio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qemu-aio.h b/qemu-aio.h index bfdd35f02c..27a7e21220 100644 --- a/qemu-aio.h +++ b/qemu-aio.h @@ -60,10 +60,10 @@ bool qemu_aio_wait(void); * Code that invokes AIO completion functions should rely on this function * instead of qemu_set_fd_handler[2]. */ -int qemu_aio_set_fd_handler(int fd, - IOHandler *io_read, - IOHandler *io_write, - AioFlushHandler *io_flush, - void *opaque); +void qemu_aio_set_fd_handler(int fd, + IOHandler *io_read, + IOHandler *io_write, + AioFlushHandler *io_flush, + void *opaque); #endif |