net: Move prototype declaration to header file include/net/datalink.h from net/ipx...
commit7780d8ae4ae1960ef7c0570de0a1ecd7b60c8152
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 16:57:41 +0000 (9 22:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:50 +0000 (9 17:32 -0800)
tree9ccca3dbbb2f74383b9d9049c8cf491e940501e6
parent578efbc19f468686ad7eb1e505bab56d04e92784
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