aboutsummaryrefslogtreecommitdiff
path: root/include/net/ipx.h
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 22:24:33 +0530
committerDavid S. Miller <davem@davemloft.net>2014-02-09 17:32:49 -0800
commit493cc5e5ba450356560cc12a8f71ff6a8574c91c (patch)
tree1749379789d9fb3e76c345c7b5a829be6ec19b25 /include/net/ipx.h
parentab3301bd96c024ec9c2e1c35c90327dc5c8012a4 (diff)
downloadlinux-stericsson-493cc5e5ba450356560cc12a8f71ff6a8574c91c.tar.gz
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 <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipx.h')
-rw-r--r--include/net/ipx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ipx.h b/include/net/ipx.h
index 9e9e35465baf..75466acdce21 100644
--- a/include/net/ipx.h
+++ b/include/net/ipx.h
@@ -140,6 +140,9 @@ static __inline__ void ipxitf_hold(struct ipx_interface *intrfc)
}
void ipxitf_down(struct ipx_interface *intrfc);
+struct ipx_interface *ipxitf_find_using_net(__be32 net);
+int ipxitf_send(struct ipx_interface *intrfc, struct sk_buff *skb, char *node);
+__be16 ipx_cksum(struct ipxhdr *packet, int length);
static __inline__ void ipxitf_put(struct ipx_interface *intrfc)
{