[trivia] finish off static'ification of ospf6d and ripngd
2008-08-15 Paul Jakma <paul.jakma@sun.com>
* {ospf6d,ripngd}/*: Finish job of marking functions as static, or
exporting declarations for them, to quell warning noise with
Quagga's GCC default high-level of warning flags. Thus allowing
remaining, more useful warnings to be more easily seen.
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index 180a204..8224b10 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -472,7 +472,7 @@
ospf6_lsa_originate_area (lsa, area);
}
-void
+static void
ospf6_abr_range_update (struct ospf6_route *range)
{
u_int32_t cost = 0;
@@ -762,7 +762,7 @@
/* Display functions */
-int
+static int
ospf6_inter_area_prefix_lsa_show (struct vty *vty, struct ospf6_lsa *lsa)
{
struct ospf6_inter_prefix_lsa *prefix_lsa;
@@ -787,7 +787,7 @@
return 0;
}
-int
+static int
ospf6_inter_area_router_lsa_show (struct vty *vty, struct ospf6_lsa *lsa)
{
struct ospf6_inter_router_lsa *router_lsa;
@@ -841,7 +841,7 @@
}
void
-install_element_ospf6_debug_abr ()
+install_element_ospf6_debug_abr (void)
{
install_element (ENABLE_NODE, &debug_ospf6_abr_cmd);
install_element (ENABLE_NODE, &no_debug_ospf6_abr_cmd);
@@ -864,7 +864,7 @@
};
void
-ospf6_abr_init ()
+ospf6_abr_init (void)
{
ospf6_install_lsa_handler (&inter_prefix_handler);
ospf6_install_lsa_handler (&inter_router_handler);