qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] net: add missing include file
@ 2012-12-21  8:56 Liming Wang
  2012-12-22 15:43 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Wang @ 2012-12-21  8:56 UTC (permalink / raw)
  To: Anthony Liguori, Stefan Hajnoczi, Paolo Bonzini; +Cc: qemu-devel

To fix building error:

CC    net/vde.o
net/vde.c: In function ‘vde_cleanup’:
net/vde.c:65:5: error: implicit declaration of function ‘qemu_set_fd_handler’ [-Werror=implicit-function-declaration]
net/vde.c:65:5: error: nested extern declaration of ‘qemu_set_fd_handler’ [-Werror=nested-externs]
cc1: all warnings being treated as errors

Signed-off-by: Liming Wang <walimisdev@gmail.com>
---
 net/vde.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/vde.c b/net/vde.c
index 754a141..4dea32d 100644
--- a/net/vde.c
+++ b/net/vde.c
@@ -29,6 +29,7 @@
 #include "clients.h"
 #include "qemu-common.h"
 #include "qemu/option.h"
+#include "qemu/main-loop.h"
 
 typedef struct VDEState {
     NetClientState nc;
-- 
1.7.9.5

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

* Re: [Qemu-devel] [PATCH] net: add missing include file
  2012-12-21  8:56 [Qemu-devel] [PATCH] net: add missing include file Liming Wang
@ 2012-12-22 15:43 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2012-12-22 15:43 UTC (permalink / raw)
  To: Liming Wang; +Cc: Paolo Bonzini, Anthony Liguori, qemu-devel, Stefan Hajnoczi

Thanks, applied.

On Fri, Dec 21, 2012 at 8:56 AM, Liming Wang <walimisdev@gmail.com> wrote:
> To fix building error:
>
> CC    net/vde.o
> net/vde.c: In function ‘vde_cleanup’:
> net/vde.c:65:5: error: implicit declaration of function ‘qemu_set_fd_handler’ [-Werror=implicit-function-declaration]
> net/vde.c:65:5: error: nested extern declaration of ‘qemu_set_fd_handler’ [-Werror=nested-externs]
> cc1: all warnings being treated as errors
>
> Signed-off-by: Liming Wang <walimisdev@gmail.com>
> ---
>  net/vde.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/net/vde.c b/net/vde.c
> index 754a141..4dea32d 100644
> --- a/net/vde.c
> +++ b/net/vde.c
> @@ -29,6 +29,7 @@
>  #include "clients.h"
>  #include "qemu-common.h"
>  #include "qemu/option.h"
> +#include "qemu/main-loop.h"
>
>  typedef struct VDEState {
>      NetClientState nc;
> --
> 1.7.9.5
>
>

^ 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-21  8:56 [Qemu-devel] [PATCH] net: add missing include file Liming Wang
2012-12-22 15:43 ` 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).