login
Header Space

 
 

[2.6 patch] make struct ip6_prohibit_entry_template static

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

This patch makes the needlessly global struct 
ip6_prohibit_entry_template static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -150,7 +150,7 @@ static struct rt6_info ip6_null_entry_template = {
 static int ip6_pkt_prohibit(struct sk_buff *skb);
 static int ip6_pkt_prohibit_out(struct sk_buff *skb);
 
-struct rt6_info ip6_prohibit_entry_template = {
+static struct rt6_info ip6_prohibit_entry_template = {
 	.u = {
 		.dst = {
 			.__refcnt	= ATOMIC_INIT(1),
--
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 struct ip6_prohibit_entry_template static, Adrian Bunk, (Mon Apr 21, 4:48 am)
speck-geostationary