summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPavel Emelyanov2007-12-05 10:41:26 +0100
committerDavid S. Miller2008-01-28 23:56:27 +0100
commit3e37c3f9978839d91188e4ca0cc662a7245f28e4 (patch)
tree56574ce30de6f52e2d476b1a3a9993a380edcec6 /include/net
parent[IPV4]: Cleanup the sysctl_net_ipv4.c file (diff)
downloadkernel-qcow2-linux-3e37c3f9978839d91188e4ca0cc662a7245f28e4.tar.gz
kernel-qcow2-linux-3e37c3f9978839d91188e4ca0cc662a7245f28e4.tar.xz
kernel-qcow2-linux-3e37c3f9978839d91188e4ca0cc662a7245f28e4.zip
[IPV4]: Use ctl paths to register net/ipv4/ table
This is the same as I did for the net/core/ table in the second patch in his series: use the paths and isolate the whole table in the .c file. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index 66d51616ade8..17d1189723fc 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -395,6 +395,4 @@ int ipv4_doint_and_flush_strategy(ctl_table *table, int __user *name, int nlen,
extern int ip_misc_proc_init(void);
#endif
-extern struct ctl_table ipv4_table[];
-
#endif /* _IP_H */