* [Qemu-devel] [PATCH] net/tap-win32: Fix compiler warning caused by missing include statement
@ 2012-10-17 17:53 Stefan Weil
2012-10-19 8:39 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-10-17 17:53 UTC (permalink / raw)
To: Anthony Liguori, Stefan Hajnoczi; +Cc: qemu-trivial, Stefan Weil, qemu-devel
The include file for net_init_tap was missing:
net/tap-win32.c:703:
warning: no previous prototype for ‘net_init_tap’
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
net/tap-win32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/tap-win32.c b/net/tap-win32.c
index f1801e2..22dad3f 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -29,6 +29,7 @@
#include "tap.h"
#include "qemu-common.h"
+#include "clients.h" /* net_init_tap */
#include "net.h"
#include "sysemu.h"
#include "qemu-error.h"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] net/tap-win32: Fix compiler warning caused by missing include statement
2012-10-17 17:53 [Qemu-devel] [PATCH] net/tap-win32: Fix compiler warning caused by missing include statement Stefan Weil
@ 2012-10-19 8:39 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-10-19 8:39 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-trivial, Anthony Liguori, qemu-devel
On Wed, Oct 17, 2012 at 07:53:50PM +0200, Stefan Weil wrote:
> The include file for net_init_tap was missing:
>
> net/tap-win32.c:703:
> warning: no previous prototype for ‘net_init_tap’
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> net/tap-win32.c | 1 +
> 1 file changed, 1 insertion(+)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-19 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 17:53 [Qemu-devel] [PATCH] net/tap-win32: Fix compiler warning caused by missing include statement Stefan Weil
2012-10-19 8:39 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).