]> git.baikalelectronics.ru Git - kernel.git/commit
net: Move prototype declaration to include/net/ipx.h from net/ipx/ipx_route.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 16:54:33 +0000 (22:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:49 +0000 (17:32 -0800)
commit3add7c3e6194251f8c3dad6db81168c0ecd61299
tree1749379789d9fb3e76c345c7b5a829be6ec19b25
parent251fc6bb304926119ab04a1ef53a35da6fba9375
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>
include/net/ipx.h
net/ipx/ipx_route.c