aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-06-04 14:45:24 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-06-12 13:26:21 +0100
commitf4d248bdc33167ab9e91b1470ef47a61dffd0b38 (patch)
tree31d91f0c383c0803d9b5b62bfbd2380998193597 /include/qemu
parent1e354528bdaf9671ffc94e531e6967233abe7b8f (diff)
downloadqemu-f4d248bdc33167ab9e91b1470ef47a61dffd0b38.zip
qemu-f4d248bdc33167ab9e91b1470ef47a61dffd0b38.tar.gz
qemu-f4d248bdc33167ab9e91b1470ef47a61dffd0b38.tar.bz2
iohandler: Change return type of qemu_set_fd_handler to "void"
Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1433400324-7358-14-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/main-loop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/qemu/main-loop.h b/include/qemu/main-loop.h
index 7da1d63..0f4a0fd 100644
--- a/include/qemu/main-loop.h
+++ b/include/qemu/main-loop.h
@@ -198,10 +198,10 @@ typedef int IOCanReadHandler(void *opaque);
*
* @opaque: A pointer-sized value that is passed to @fd_read and @fd_write.
*/
-int qemu_set_fd_handler(int fd,
- IOHandler *fd_read,
- IOHandler *fd_write,
- void *opaque);
+void qemu_set_fd_handler(int fd,
+ IOHandler *fd_read,
+ IOHandler *fd_write,
+ void *opaque);
#ifdef CONFIG_POSIX
/**