aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2007-12-07 03:40:34 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:45 -0500
commitd63bddbe90c4fd924b2155ca92a879393d856170 (patch)
tree223d80eca0d44a057b160ddbb229103c27b3e76f /include/net/ip6_fib.h
parent5a3e55d68ec5baac578bf32ba67607088c763657 (diff)
[IPV6]: Make fib6_init to return an error code.
If there is an error in the initialization function, nothing is followed up to the caller. So I add a return value to be set for the init function. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 4cefcffe773e..5d39ce92afcf 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -224,7 +224,7 @@ extern void fib6_run_gc(unsigned long dummy);
224 224
225extern void fib6_gc_cleanup(void); 225extern void fib6_gc_cleanup(void);
226 226
227extern void fib6_init(void); 227extern int fib6_init(void);
228 228
229extern void fib6_rules_init(void); 229extern void fib6_rules_init(void);
230extern void fib6_rules_cleanup(void); 230extern void fib6_rules_cleanup(void);