diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-08-03 13:56:59 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:48 -0500 |
commit | c3cf0d3f96ed2abdb7b57808244ba39e6a57da8b (patch) | |
tree | 84b12511f096aa93821121b02f3cfacd05507c0c /net.h | |
parent | 09c0848e52d9f06160c0f3fd04fb4fc521370c2a (diff) | |
download | qemu-c3cf0d3f96ed2abdb7b57808244ba39e6a57da8b.zip qemu-c3cf0d3f96ed2abdb7b57808244ba39e6a57da8b.tar.gz qemu-c3cf0d3f96ed2abdb7b57808244ba39e6a57da8b.tar.bz2 |
net: Fix do_set_link() return type
do_set_link() returns int, but Monitor handler functions should
always return void.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ void qemu_check_nic_model_list(NICInfo *nd, const char * const *models, void qemu_handler_true(void *opaque); void do_info_network(Monitor *mon); -int do_set_link(Monitor *mon, const char *name, const char *up_or_down); +void do_set_link(Monitor *mon, const char *name, const char *up_or_down); void do_info_usernet(Monitor *mon); |