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>
This commit is contained in:
committed by
David S. Miller
parent
ba80a25228
commit
4bc2f18ba4
@@ -89,6 +89,7 @@ __inline__ void ip_send_check(struct iphdr *iph)
|
||||
iph->check = 0;
|
||||
iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
|
||||
}
|
||||
EXPORT_SYMBOL(ip_send_check);
|
||||
|
||||
int __ip_local_out(struct sk_buff *skb)
|
||||
{
|
||||
@@ -172,7 +173,6 @@ int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
|
||||
/* Send it out. */
|
||||
return ip_local_out(skb);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(ip_build_and_send_pkt);
|
||||
|
||||
static inline int ip_finish_output2(struct sk_buff *skb)
|
||||
@@ -403,6 +403,7 @@ no_route:
|
||||
kfree_skb(skb);
|
||||
return -EHOSTUNREACH;
|
||||
}
|
||||
EXPORT_SYMBOL(ip_queue_xmit);
|
||||
|
||||
|
||||
static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
|
||||
@@ -696,7 +697,6 @@ fail:
|
||||
IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGFAILS);
|
||||
return err;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ip_fragment);
|
||||
|
||||
int
|
||||
@@ -715,6 +715,7 @@ ip_generic_getfrag(void *from, char *to, int offset, int len, int odd, struct sk
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(ip_generic_getfrag);
|
||||
|
||||
static inline __wsum
|
||||
csum_page(struct page *page, int offset, int copy)
|
||||
@@ -1447,7 +1448,3 @@ void __init ip_init(void)
|
||||
igmp_mc_proc_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ip_generic_getfrag);
|
||||
EXPORT_SYMBOL(ip_queue_xmit);
|
||||
EXPORT_SYMBOL(ip_send_check);
|
||||
|
||||
Reference in New Issue
Block a user