]> git.baikalelectronics.ru Git - kernel.git/commit
net: Move prototype declaration to header file include/net/datalink.h from net/ipx...
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 16:57:41 +0000 (22:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:50 +0000 (17:32 -0800)
commite26433852cf7f3c6b099633c53584624755e57ce
tree9ccca3dbbb2f74383b9d9049c8cf491e940501e6
parentf27e8b6ef58b62ae83a4aa7cbb107681f7aae2ac
net: Move prototype declaration to header file include/net/datalink.h from net/ipx/af_ipx.c

Move prototype declarations of function to header file
include/net/datalink.h from net/ipx/af_ipx.c because they are used by
more than one file.

This eliminates the following warning in net/ipx/pe2.c:
net/ipx/pe2.c:20:24: warning: no previous prototype for ‘make_EII_client’ [-Wmissing-prototypes]
net/ipx/pe2.c:32:6: warning: no previous prototype for ‘destroy_EII_client’ [-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/datalink.h
net/ipx/af_ipx.c