[ovs-dev] [PATCH] vswitchd: fix "imlicit declaration of function" build warning.

Ansis Atteka aatteka at nicira.com
Wed Dec 21 18:04:03 UTC 2011


Included stream.h header file for connmgr.c and bridge.c files.

Signed-off-by: Ansis Atteka <aatteka at nicira.com>
Reported-by: Ben Pfaff <blp at nicira.com>
---
 ofproto/connmgr.c |    1 +
 vswitchd/bridge.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 1c55b67..6caad06 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -33,6 +33,7 @@
 #include "pktbuf.h"
 #include "rconn.h"
 #include "shash.h"
+#include "stream.h"
 #include "timeval.h"
 #include "vconn.h"
 #include "vlog.h"
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 3ae3b0f..265410f 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -40,6 +40,7 @@
 #include "sha1.h"
 #include "shash.h"
 #include "socket-util.h"
+#include "stream.h"
 #include "stream-ssl.h"
 #include "sset.h"
 #include "system-stats.h"
-- 
1.7.4.1




More information about the dev mailing list