[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421084845.GR26897@cs181133002.pp.htv.fi>
Date: Mon, 21 Apr 2008 11:48:45 +0300
From: Adrian Bunk <bunk@...nel.org>
To: "Denis V. Lunev" <den@...nvz.org>,
"David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [2.6 patch] make icmp_sk_init() static
This patch makes the needlessly global icmp_sk_init() static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
d163a44e24881d5e960bf9bdc1819ba8ccd15555 diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index f064031..fee171e 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;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists