aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:51 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:58 -0500
commit18f3a5151cfdc659459faf70cd09d5c887f7addc (patch)
treec7c69f268b9fa3269659743591270b66d2646c8c /monitor.c
parentmonitor: Convert do_getfd() to QObject (diff)
downloadqemu-kvm-18f3a5151cfdc659459faf70cd09d5c887f7addc.tar.gz
qemu-kvm-18f3a5151cfdc659459faf70cd09d5c887f7addc.tar.bz2
qemu-kvm-18f3a5151cfdc659459faf70cd09d5c887f7addc.zip
monitor: Convert do_closefd() to QObject
Note that errors are not being converted yet. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index eee4b8075..109ff5c44 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1889,7 +1889,7 @@ static void do_getfd(Monitor *mon, const QDict *qdict, QObject **ret_data)
QLIST_INSERT_HEAD(&mon->fds, monfd, next);
}
-static void do_closefd(Monitor *mon, const QDict *qdict)
+static void do_closefd(Monitor *mon, const QDict *qdict, QObject **ret_data)
{
const char *fdname = qdict_get_str(qdict, "fdname");
mon_fd_t *monfd;