Sparse is unhappy because the system include path is ahead of the
local include path. This patch fixes that and has a clean run for
sparse.

Signed-off-by: Pritesh Kothari <pritesh.koth...@cisco.com>
---
 Makefile.am       |    4 ++--
 lib/dpif-netdev.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index dd0a111..9039389 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,12 +18,12 @@ AM_CPPFLAGS += $(PTHREAD_INCLUDES)
 AM_LDFLAGS += $(PTHREAD_LDFLAGS)
 endif
 
-AM_CPPFLAGS += $(SSL_INCLUDES)
-
 AM_CPPFLAGS += -I $(top_srcdir)/include
 AM_CPPFLAGS += -I $(top_srcdir)/lib
 AM_CPPFLAGS += -I $(top_builddir)/lib
 
+AM_CPPFLAGS += $(SSL_INCLUDES)
+
 AM_CFLAGS = -Wstrict-prototypes
 AM_CFLAGS += $(WARNING_FLAGS)
 
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 8687a47..c5df3b5 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -1734,7 +1734,7 @@ dp_netdev_actions_free(struct dp_netdev_actions *actions)
 }
 
 
-inline static void
+static void
 dp_netdev_process_rxq_port(struct dp_netdev *dp,
                           struct dp_netdev_port *port,
                           struct netdev_rxq *rxq)
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to