diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-04-26 00:57:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 00:57:41 -0700 |
commit | 42bad1da506cafa7041a02ab84033a724afe88ac (patch) | |
tree | 2850b3483c2fd05341c32663f4adb8f2ce7506da /include/net/rtnetlink.h | |
parent | 55404bca6c45595fee1a546f1a0cc616aeef0b00 (diff) | |
download | linux-42bad1da506cafa7041a02ab84033a724afe88ac.tar.gz linux-42bad1da506cafa7041a02ab84033a724afe88ac.tar.bz2 linux-42bad1da506cafa7041a02ab84033a724afe88ac.zip |
[NETLINK]: Possible cleanups.
- make the following needlessly global variables static:
- core/rtnetlink.c: struct rtnl_msg_handlers[]
- netfilter/nf_conntrack_proto.c: struct nf_ct_protos[]
- make the following needlessly global functions static:
- core/rtnetlink.c: rtnl_dump_all()
- netlink/af_netlink.c: netlink_queue_skip()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 086fa9e89509..3b3d4745618d 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -13,7 +13,6 @@ extern void rtnl_register(int protocol, int msgtype, rtnl_doit_func, rtnl_dumpit_func); extern int rtnl_unregister(int protocol, int msgtype); extern void rtnl_unregister_all(int protocol); -extern int rtnl_dump_all(struct sk_buff *skb, struct netlink_callback *cb); static inline int rtnl_msg_family(struct nlmsghdr *nlh) { |