login
Header Space

 
 

[2.6 patch] make icmp_sk_init() static

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denis V. Lunev <den@...>, David S. Miller <davem@...>
Cc: <netdev@...>
Date: Monday, April 21, 2008 - 4:48 am

This patch makes the needlessly global icmp_sk_init() static.

Signed-off-by: Adrian Bunk <bunk@kernel.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make icmp_sk_init() static, Adrian Bunk, (Mon Apr 21, 4:48 am)
Re: [2.6 patch] make icmp_sk_init() static, David Miller, (Mon Apr 21, 5:32 am)
Re: [2.6 patch] make icmp_sk_init() static, Adrian Bunk, (Mon Apr 21, 5:44 am)
speck-geostationary