diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip6_fib.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index eaa315868792..14830edc2ac0 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -226,8 +226,18 @@ extern void fib6_gc_cleanup(void); | |||
226 | 226 | ||
227 | extern int fib6_init(void); | 227 | extern int fib6_init(void); |
228 | 228 | ||
229 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||
229 | extern int fib6_rules_init(void); | 230 | extern int fib6_rules_init(void); |
230 | extern void fib6_rules_cleanup(void); | 231 | extern void fib6_rules_cleanup(void); |
231 | 232 | #else | |
233 | static inline int fib6_rules_init(void) | ||
234 | { | ||
235 | return 0; | ||
236 | } | ||
237 | static inline void fib6_rules_cleanup(void) | ||
238 | { | ||
239 | return ; | ||
240 | } | ||
241 | #endif | ||
232 | #endif | 242 | #endif |
233 | #endif | 243 | #endif |