tipc: fix sparse warnings in new nl api
[firefly-linux-kernel-4.4.55.git] / net / tipc / bcast.c
index dcf3589e3cc567d1f709dd55ddd10203a42e2ead..556b26ad4b1efbb34b9a85f160298fb0d36d889e 100644 (file)
@@ -767,7 +767,8 @@ void tipc_bcbearer_sort(struct tipc_node_map *nm_ptr, u32 node, bool action)
        tipc_bclink_unlock();
 }
 
-int __tipc_nl_add_bc_link_stat(struct sk_buff *skb, struct tipc_stats *stats)
+static int __tipc_nl_add_bc_link_stat(struct sk_buff *skb,
+                                     struct tipc_stats *stats)
 {
        int i;
        struct nlattr *nest;