projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abab1a0
)
net/tap-win32: Fix compiler warning caused by missing include statement
author
Stefan Weil
<sw@weilnetz.de>
Wed, 17 Oct 2012 17:53:50 +0000
(19:53 +0200)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Fri, 19 Oct 2012 08:39:35 +0000
(10:39 +0200)
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>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
net/tap-win32.c
patch
|
blob
|
history
diff --git
a/net/tap-win32.c
b/net/tap-win32.c
index f1801e22d27959fe6b94561b25d269db4dbc79e8..22dad3f8fb3ee0d35d38bb0f6a3bca35f98e28a9 100644
(file)
--- 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"