]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: Move prototype declaration to header file include/net/dn.h from net/decnet/af_de...
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 16:52:53 +0000 (22:22 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 01:32:49 +0000 (17:32 -0800)
commitab3301bd96c024ec9c2e1c35c90327dc5c8012a4
tree272290aa88509b1d99694b33570c43afe92cbfc2
parentf56b8bf6e445b22bb6207dbcf30b2c7f5ddfdf96
net: Move prototype declaration to header file include/net/dn.h from net/decnet/af_decnet.c

Move prototype declaration of functions to header file include/net/dn.h
from net/decnet/af_decnet.c because they are used by more than one file.

This eliminates the following warning in net/decnet/af_decnet.c:
net/decnet/sysctl_net_decnet.c:354:6: warning: no previous prototype for ‘dn_register_sysctl’ [-Wmissing-prototypes]
net/decnet/sysctl_net_decnet.c:359:6: warning: no previous prototype for ‘dn_unregister_sysctl’ [-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/dn.h
net/decnet/af_decnet.c