mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: Move prototype declaration to include/net/ipx.h from net/ipx/ipx_route.c
Move prototype definition of function to header file include/net/ipx.h from net/ipx/ipx_route.c because they are used by more than one file. This eliminates the following warning from net/ipx/af_ipx.c: net/ipx/af_ipx.c:193:23: warning: no previous prototype for ‘ipxitf_find_using_net’ [-Wmissing-prototypes] net/ipx/af_ipx.c:577:5: warning: no previous prototype for ‘ipxitf_send’ [-Wmissing-prototypes] net/ipx/af_ipx.c:1219:8: warning: no previous prototype for ‘ipx_cksum’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ab3301bd96
commit
493cc5e5ba
2 changed files with 3 additions and 4 deletions
|
|
@ -20,15 +20,11 @@ DEFINE_RWLOCK(ipx_routes_lock);
|
|||
|
||||
extern struct ipx_interface *ipx_internal_net;
|
||||
|
||||
extern __be16 ipx_cksum(struct ipxhdr *packet, int length);
|
||||
extern struct ipx_interface *ipxitf_find_using_net(__be32 net);
|
||||
extern int ipxitf_demux_socket(struct ipx_interface *intrfc,
|
||||
struct sk_buff *skb, int copy);
|
||||
extern int ipxitf_demux_socket(struct ipx_interface *intrfc,
|
||||
struct sk_buff *skb, int copy);
|
||||
extern int ipxitf_send(struct ipx_interface *intrfc, struct sk_buff *skb,
|
||||
char *node);
|
||||
extern struct ipx_interface *ipxitf_find_using_net(__be32 net);
|
||||
|
||||
struct ipx_route *ipxrtr_lookup(__be32 net)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue