From c3cf0d3f96ed2abdb7b57808244ba39e6a57da8b Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 3 Aug 2009 13:56:59 -0300 Subject: 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 Signed-off-by: Anthony Liguori Message-Id: --- net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.h') diff --git a/net.h b/net.h index 188fa395e4..3ac9e8c968 100644 --- a/net.h +++ b/net.h @@ -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); -- cgit v1.2.3