diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2014-11-24 11:10:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-24 16:10:23 -0500 |
commit | d8182804cfd6503e73dc1c0a409903412a389541 (patch) | |
tree | 13a0d359beeb8b436c5977d711e010e04a8b5d2d /net/tipc/bcast.c | |
parent | 958d03b016586d571a382f863608bc4c6d92a0c8 (diff) | |
download | linux-d8182804cfd6503e73dc1c0a409903412a389541.tar.bz2 |
tipc: fix sparse warnings in new nl api
Fix sparse warnings about non-static declaration of static functions
in the new tipc netlink API.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r-- | net/tipc/bcast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index dcf3589e3cc5..556b26ad4b1e 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c @@ -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; |