Skip to content

Commit

Permalink
[IPV6]: Make struct ip6_prohibit_entry_template static.
Browse files Browse the repository at this point in the history
This patch makes the needlessly global struct
ip6_prohibit_entry_template static.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
AdrianBunk authored and davem330 committed Apr 21, 2008
1 parent 1f29b05 commit 280a34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 280a34c

Please sign in to comment.