Subject: [PATCH net-next 1/7] flow_dissector: make local function static

From: Stephen Hemminger <[email-masked]>
Date: Tue, 10 Jan 2017 10:18:10 -0800

Fix warning: no previous prototype for ‘skb_flow_get_be16’
Function is only used in this file, make it static.

Signed-off-by: Stephen Hemminger <[email-masked]>
---
 net/core/flow_dissector.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index fe4e1531976c..1b7673aac59d 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -67,8 +67,8 @@ EXPORT_SYMBOL(skb_flow_dissector_init);
  * The function will try to retrieve a be32 entity at
  * offset poff
  */
-__be16 skb_flow_get_be16(const struct sk_buff *skb, int poff, void *data,
-			 int hlen)
+static __be16 skb_flow_get_be16(const struct sk_buff *skb, int poff,
+				void *data, int hlen)
 {
 	__be16 *u, _u;
 
-- 
2.11.0