Otherwise we get warning on rtadv_init() prototype not being defined when compiling rtadv.c (as dummy stub is provided always).
Signed-off-by: Timo Teräs <[email protected]> --- zebra/rtadv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra/rtadv.h b/zebra/rtadv.h index 8cb933e..1e1aec9 100644 --- a/zebra/rtadv.h +++ b/zebra/rtadv.h @@ -59,7 +59,6 @@ struct rtadv_prefix }; extern void rtadv_config_write (struct vty *, struct interface *); -extern void rtadv_init (void); /* RFC4584 Extension to Sockets API for Mobile IPv6 */ @@ -101,4 +100,6 @@ extern const char *rtadv_pref_strs[]; #endif /* RTADV */ +extern void rtadv_init (void); + #endif /* _ZEBRA_RTADV_H */ -- 2.3.6 _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
