summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-21 11:31:23 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-21 11:31:23 +0200
commit263173af5b4635c07dd862255e5b767cd429c640 (patch)
tree8c5ad0b5d315d02c99c0b7b096f6443e530612ae
parent[IPV6]: Make struct ip6_prohibit_entry_template static. (diff)
downloadlinux-263173af5b4635c07dd862255e5b767cd429c640.tar.xz
linux-263173af5b4635c07dd862255e5b767cd429c640.zip
[IPV4]: Make icmp_sk_init() static.
This patch makes the needlessly global icmp_sk_init() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index f064031f2031..fee171ec6588 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -1144,7 +1144,7 @@ static void __net_exit icmp_sk_exit(struct net *net)
net->ipv4.icmp_sk = NULL;
}
-int __net_init icmp_sk_init(struct net *net)
+static int __net_init icmp_sk_init(struct net *net)
{
int i, err;