X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsysctl_net.c;h=58a1b6b42dddba6c85c10330bacdb48f7438e4f4;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=3f6e31069c547ebb8b7a850da018f1a3e1169234;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/net/sysctl_net.c b/net/sysctl_net.c index 3f6e31069..58a1b6b42 100644 --- a/net/sysctl_net.c +++ b/net/sysctl_net.c @@ -16,18 +16,18 @@ #include #include +#include + #ifdef CONFIG_INET -extern struct ctl_table ipv4_table[]; +#include #endif -extern struct ctl_table core_table[]; - #ifdef CONFIG_NET -extern struct ctl_table ether_table[]; +#include #endif #ifdef CONFIG_TR -extern struct ctl_table tr_table[]; +#include #endif struct ctl_table net_table[] = { @@ -37,14 +37,6 @@ struct ctl_table net_table[] = { .mode = 0555, .child = core_table, }, -#ifdef CONFIG_NET - { - .ctl_name = NET_ETHER, - .procname = "ethernet", - .mode = 0555, - .child = ether_table, - }, -#endif #ifdef CONFIG_INET { .ctl_name = NET_IPV4,