diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2007-12-07 03:42:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:46 -0500 |
commit | 9eb87f3f7e0686a256c5bb4f886dede0171245f2 (patch) | |
tree | 64ca735755b0c5a70eec1cfda0a3ebef5a31c419 /include/net/ip6_fib.h | |
parent | 0013cabab30ec55830ce63d34c0bdd887eb87644 (diff) |
[IPV6]: Make fib6_rules_init to return an error code.
When the fib_rules initialization finished, no return code is provided
so there is no way to know, for the caller, if the initialization has
been successful or has failed. This patch fix that.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 5d39ce92afcf..eaa315868792 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -226,7 +226,7 @@ extern void fib6_gc_cleanup(void); | |||
226 | 226 | ||
227 | extern int fib6_init(void); | 227 | extern int fib6_init(void); |
228 | 228 | ||
229 | extern void fib6_rules_init(void); | 229 | extern int fib6_rules_init(void); |
230 | extern void fib6_rules_cleanup(void); | 230 | extern void fib6_rules_cleanup(void); |
231 | 231 | ||
232 | #endif | 232 | #endif |