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)
commit535d3ae9c808e6a5248f0524dbc7a9e997cf3288
tree5d51203908e474c06ce99ee0bb7612896e0c2354
parent7780d8ae4ae1960ef7c0570de0a1ecd7b60c8152
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