aboutsummaryrefslogtreecommitdiff
path: root/net/socket.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-04-12 13:20:40 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-06-04 13:49:35 -0300
commit42dcc547e1982f31d0f678e02f0aae5be570384a (patch)
tree79b4c258f03b57ea509d5a111848ea9f3ec0bb98 /net/socket.h
parent60d5666f7d4eec6df4a3d066769009f0c1a685bf (diff)
downloadqemu-42dcc547e1982f31d0f678e02f0aae5be570384a.zip
qemu-42dcc547e1982f31d0f678e02f0aae5be570384a.tar.gz
qemu-42dcc547e1982f31d0f678e02f0aae5be570384a.tar.bz2
net: purge the monitor object from all init functions
The only backend that really uses it is the socket one, which calls monitor_get_fd(). But it can use 'cur_mon' instead. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-By: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'net/socket.h')
-rw-r--r--net/socket.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket.h b/net/socket.h
index ea46f02..e1fe959 100644
--- a/net/socket.h
+++ b/net/socket.h
@@ -27,7 +27,6 @@
#include "net.h"
#include "qemu-common.h"
-int net_init_socket(QemuOpts *opts, Monitor *mon,
- const char *name, VLANState *vlan);
+int net_init_socket(QemuOpts *opts, const char *name, VLANState *vlan);
#endif /* QEMU_NET_SOCKET_H */