diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-31 23:51:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-31 23:51:22 -0400 |
commit | 8a9204db665365354b349ed5b0bc054f0433a2a4 (patch) | |
tree | e5ecc6efda8fc3f0d6b0c38319bdfd86edf4c62f /net/ipv4 | |
parent | 90b7e1120bb43ffaabb88d28f80a0c2e13167b15 (diff) |
net/ipv4/route.c: fix build error
fix:
net/ipv4/route.c: In function 'ip_static_sysctl_init':
net/ipv4/route.c:3225: error: 'ipv4_route_path' undeclared (first use in this function)
net/ipv4/route.c:3225: error: (Each undeclared identifier is reported only once
net/ipv4/route.c:3225: error: for each function it appears in.)
net/ipv4/route.c:3225: error: 'ipv4_route_table' undeclared (first use in this function)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 380d6474cf66..d7bf0564b5f4 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -3222,7 +3222,9 @@ int __init ip_rt_init(void) | |||
3222 | */ | 3222 | */ |
3223 | void __init ip_static_sysctl_init(void) | 3223 | void __init ip_static_sysctl_init(void) |
3224 | { | 3224 | { |
3225 | #ifdef CONFIG_SYSCTL | ||
3225 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); | 3226 | register_sysctl_paths(ipv4_route_path, ipv4_route_table); |
3227 | #endif | ||
3226 | } | 3228 | } |
3227 | 3229 | ||
3228 | EXPORT_SYMBOL(__ip_select_ident); | 3230 | EXPORT_SYMBOL(__ip_select_ident); |