qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] net: Add missing include statement (fix compiler warnings for MinGW)
@ 2012-12-20 22:09 Stefan Weil
  2012-12-22 15:42 ` [Qemu-trivial] [Qemu-devel] " Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-12-20 22:09 UTC (permalink / raw)
  To: qemu-trivial, Anthony Liguori, Stefan Hajnoczi
  Cc: Paolo Bonzini, qemu-devel, Stefan Weil

These and some more compiler warnings were caused by a recent commit:

net/tap-win32.c:724: warning: no previous prototype for ‘tap_has_ufo’
net/tap-win32.c:729: warning: no previous prototype for ‘tap_has_vnet_hdr’
...

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 0c63cbd..265369c 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -31,6 +31,7 @@
 #include "qemu-common.h"
 #include "clients.h"            /* net_init_tap */
 #include "net/net.h"
+#include "net/tap.h"            /* tap_has_ufo, ... */
 #include "sysemu/sysemu.h"
 #include "qemu/error-report.h"
 #include <stdio.h>
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-trivial] [Qemu-devel] [PATCH] net: Add missing include statement (fix compiler warnings for MinGW)
  2012-12-20 22:09 [Qemu-trivial] [PATCH] net: Add missing include statement (fix compiler warnings for MinGW) Stefan Weil
@ 2012-12-22 15:42 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2012-12-22 15:42 UTC (permalink / raw)
  To: Stefan Weil
  Cc: qemu-trivial, Paolo Bonzini, Anthony Liguori, qemu-devel,
	Stefan Hajnoczi

Thanks, applied.

On Thu, Dec 20, 2012 at 10:09 PM, Stefan Weil <sw@weilnetz.de> wrote:
> These and some more compiler warnings were caused by a recent commit:
>
> net/tap-win32.c:724: warning: no previous prototype for ‘tap_has_ufo’
> net/tap-win32.c:729: warning: no previous prototype for ‘tap_has_vnet_hdr’
> ...
>
> 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 0c63cbd..265369c 100644
> --- a/net/tap-win32.c
> +++ b/net/tap-win32.c
> @@ -31,6 +31,7 @@
>  #include "qemu-common.h"
>  #include "clients.h"            /* net_init_tap */
>  #include "net/net.h"
> +#include "net/tap.h"            /* tap_has_ufo, ... */
>  #include "sysemu/sysemu.h"
>  #include "qemu/error-report.h"
>  #include <stdio.h>
> --
> 1.7.10.4
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-22 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 22:09 [Qemu-trivial] [PATCH] net: Add missing include statement (fix compiler warnings for MinGW) Stefan Weil
2012-12-22 15:42 ` [Qemu-trivial] [Qemu-devel] " Blue Swirl

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).