summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_area.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-08-15 13:45:30 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:52:58 +0100
commit6ac29a51075def99217a4ab1015635db3b3e83ed (patch)
tree1152b55eb3a2099c67a0ba8e62d7e41f07e00135 /ospf6d/ospf6_area.c
parent1423c809cc4ddc2e013ba6264c49a11e5719c6f2 (diff)
downloadquagga-6ac29a51075def99217a4ab1015635db3b3e83ed.tar.bz2
quagga-6ac29a51075def99217a4ab1015635db3b3e83ed.tar.xz
[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.
Diffstat (limited to 'ospf6d/ospf6_area.c')
-rw-r--r--ospf6d/ospf6_area.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ospf6d/ospf6_area.c b/ospf6d/ospf6_area.c
index 94283dba..3bfc0cae 100644
--- a/ospf6d/ospf6_area.c
+++ b/ospf6d/ospf6_area.c
@@ -54,7 +54,7 @@ ospf6_area_cmp (void *va, void *vb)
}
/* schedule routing table recalculation */
-void
+static void
ospf6_area_lsdb_hook_add (struct ospf6_lsa *lsa)
{
switch (ntohs (lsa->header->type))
@@ -84,7 +84,7 @@ ospf6_area_lsdb_hook_add (struct ospf6_lsa *lsa)
}
}
-void
+static void
ospf6_area_lsdb_hook_remove (struct ospf6_lsa *lsa)
{
switch (ntohs (lsa->header->type))
@@ -114,14 +114,14 @@ ospf6_area_lsdb_hook_remove (struct ospf6_lsa *lsa)
}
}
-void
+static void
ospf6_area_route_hook_add (struct ospf6_route *route)
{
struct ospf6_route *copy = ospf6_route_copy (route);
ospf6_route_add (copy, ospf6->route_table);
}
-void
+static void
ospf6_area_route_hook_remove (struct ospf6_route *route)
{
struct ospf6_route *copy;
@@ -230,7 +230,7 @@ ospf6_area_lookup (u_int32_t area_id, struct ospf6 *ospf6)
return (struct ospf6_area *) NULL;
}
-struct ospf6_area *
+static struct ospf6_area *
ospf6_area_get (u_int32_t area_id, struct ospf6 *o)
{
struct ospf6_area *oa;
@@ -364,7 +364,7 @@ ALIAS (area_range,
OSPF6_AREA_ID_STR
"Configured address range\n"
"Specify IPv6 prefix\n"
- );
+ )
DEFUN (no_area_range,
no_area_range_cmd,
@@ -746,7 +746,7 @@ DEFUN (show_ipv6_ospf6_simulate_spf_tree_root,
}
void
-ospf6_area_init ()
+ospf6_area_init (void)
{
install_element (VIEW_NODE, &show_ipv6_ospf6_spf_tree_cmd);
install_element (VIEW_NODE, &show_ipv6_ospf6_area_spf_tree_cmd);