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

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

This eliminates the following warning in net/ipx/sysctl_net_ipx.c:
net/ipx/sysctl_net_ipx.c:33:6: warning: no previous prototype for ‘ipx_register_sysctl’ [-Wmissing-prototypes]
net/ipx/sysctl_net_ipx.c:38:6: warning: no previous prototype for ‘ipx_unregister_sysctl’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
net/ipx/af_ipx.c