diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-09 17:22:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-12 15:57:54 -0400 |
commit | 4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6 (patch) | |
tree | bb39f427bd468d0e34a73ebc788db726406fa261 /net/ipv4/route.c | |
parent | ba80a2522899ea71a5b201bae60bdfd99126af95 (diff) |
net/ipv4: EXPORT_SYMBOL cleanups
CodingStyle cleanups
EXPORT_SYMBOL should immediately follow the symbol declaration.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 03430de46166..562ce92de2a6 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1324,6 +1324,7 @@ void __ip_select_ident(struct iphdr *iph, struct dst_entry *dst, int more) | |||
1324 | 1324 | ||
1325 | ip_select_fb_ident(iph); | 1325 | ip_select_fb_ident(iph); |
1326 | } | 1326 | } |
1327 | EXPORT_SYMBOL(__ip_select_ident); | ||
1327 | 1328 | ||
1328 | static void rt_del(unsigned hash, struct rtable *rt) | 1329 | static void rt_del(unsigned hash, struct rtable *rt) |
1329 | { | 1330 | { |
@@ -2735,7 +2736,6 @@ int __ip_route_output_key(struct net *net, struct rtable **rp, | |||
2735 | slow_output: | 2736 | slow_output: |
2736 | return ip_route_output_slow(net, rp, flp); | 2737 | return ip_route_output_slow(net, rp, flp); |
2737 | } | 2738 | } |
2738 | |||
2739 | EXPORT_SYMBOL_GPL(__ip_route_output_key); | 2739 | EXPORT_SYMBOL_GPL(__ip_route_output_key); |
2740 | 2740 | ||
2741 | static void ipv4_rt_blackhole_update_pmtu(struct dst_entry *dst, u32 mtu) | 2741 | static void ipv4_rt_blackhole_update_pmtu(struct dst_entry *dst, u32 mtu) |
@@ -2819,13 +2819,13 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp, | |||
2819 | 2819 | ||
2820 | return 0; | 2820 | return 0; |
2821 | } | 2821 | } |
2822 | |||
2823 | EXPORT_SYMBOL_GPL(ip_route_output_flow); | 2822 | EXPORT_SYMBOL_GPL(ip_route_output_flow); |
2824 | 2823 | ||
2825 | int ip_route_output_key(struct net *net, struct rtable **rp, struct flowi *flp) | 2824 | int ip_route_output_key(struct net *net, struct rtable **rp, struct flowi *flp) |
2826 | { | 2825 | { |
2827 | return ip_route_output_flow(net, rp, flp, NULL, 0); | 2826 | return ip_route_output_flow(net, rp, flp, NULL, 0); |
2828 | } | 2827 | } |
2828 | EXPORT_SYMBOL(ip_route_output_key); | ||
2829 | 2829 | ||
2830 | static int rt_fill_info(struct net *net, | 2830 | static int rt_fill_info(struct net *net, |
2831 | struct sk_buff *skb, u32 pid, u32 seq, int event, | 2831 | struct sk_buff *skb, u32 pid, u32 seq, int event, |
@@ -3363,6 +3363,3 @@ void __init ip_static_sysctl_init(void) | |||
3363 | register_sysctl_paths(ipv4_path, ipv4_skeleton); | 3363 | register_sysctl_paths(ipv4_path, ipv4_skeleton); |
3364 | } | 3364 | } |
3365 | #endif | 3365 | #endif |
3366 | |||
3367 | EXPORT_SYMBOL(__ip_select_ident); | ||
3368 | EXPORT_SYMBOL(ip_route_output_key); | ||