diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 17:52:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-10 02:32:49 +0100 |
commit | ab3301bd96c024ec9c2e1c35c90327dc5c8012a4 (patch) | |
tree | 272290aa88509b1d99694b33570c43afe92cbfc2 /net/decnet/af_decnet.c | |
parent | net: Move prototype declaration to appropriate header file from decnet/af_dec... (diff) | |
download | linux-ab3301bd96c024ec9c2e1c35c90327dc5c8012a4.tar.xz linux-ab3301bd96c024ec9c2e1c35c90327dc5c8012a4.zip |
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>
Diffstat (limited to 'net/decnet/af_decnet.c')
-rw-r--r-- | net/decnet/af_decnet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 24d9193240e3..4c04848953bd 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c @@ -2351,9 +2351,6 @@ static const struct proto_ops dn_proto_ops = { .sendpage = sock_no_sendpage, }; -void dn_register_sysctl(void); -void dn_unregister_sysctl(void); - MODULE_DESCRIPTION("The Linux DECnet Network Protocol"); MODULE_AUTHOR("Linux DECnet Project Team"); MODULE_LICENSE("GPL"); |