summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 14:25:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 14:25:29 -0700
commitea01b56bc3f43b268d32d175095a2a930d3b2967 (patch)
treee3e11bc827541bc983105a731636a78bc30bb5fa /ospf6d/ospf6_top.c
parent0eb78a78cffc4a5c13e2b5daff5fa257b3f1d8d6 (diff)
parentd3e384e4f00aa90db4310f82f3cbe6528e256334 (diff)
downloadquagga-ea01b56bc3f43b268d32d175095a2a930d3b2967.tar.bz2
quagga-ea01b56bc3f43b268d32d175095a2a930d3b2967.tar.xz
Merge in latest quagga (0.99.11)
Merge in current upstream version of quagga.
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r--ospf6d/ospf6_top.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index deaa7ff5..9592d555 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -51,7 +51,7 @@
/* global ospf6d variable */
struct ospf6 *ospf6;
-void
+static void
ospf6_top_lsdb_hook_add (struct ospf6_lsa *lsa)
{
switch (ntohs (lsa->header->type))
@@ -65,7 +65,7 @@ ospf6_top_lsdb_hook_add (struct ospf6_lsa *lsa)
}
}
-void
+static void
ospf6_top_lsdb_hook_remove (struct ospf6_lsa *lsa)
{
switch (ntohs (lsa->header->type))
@@ -79,21 +79,21 @@ ospf6_top_lsdb_hook_remove (struct ospf6_lsa *lsa)
}
}
-void
+static void
ospf6_top_route_hook_add (struct ospf6_route *route)
{
ospf6_abr_originate_summary (route);
ospf6_zebra_route_update_add (route);
}
-void
+static void
ospf6_top_route_hook_remove (struct ospf6_route *route)
{
ospf6_abr_originate_summary (route);
ospf6_zebra_route_update_remove (route);
}
-void
+static void
ospf6_top_brouter_hook_add (struct ospf6_route *route)
{
ospf6_abr_examin_brouter (ADV_ROUTER_IN_PREFIX (&route->prefix));
@@ -101,7 +101,7 @@ ospf6_top_brouter_hook_add (struct ospf6_route *route)
ospf6_abr_originate_summary (route);
}
-void
+static void
ospf6_top_brouter_hook_remove (struct ospf6_route *route)
{
ospf6_abr_examin_brouter (ADV_ROUTER_IN_PREFIX (&route->prefix));
@@ -109,8 +109,8 @@ ospf6_top_brouter_hook_remove (struct ospf6_route *route)
ospf6_abr_originate_summary (route);
}
-struct ospf6 *
-ospf6_create ()
+static struct ospf6 *
+ospf6_create (void)
{
struct ospf6 *o;
@@ -143,7 +143,7 @@ ospf6_create ()
return o;
}
-void
+static void
ospf6_delete (struct ospf6 *o)
{
struct listnode *node, *nnode;
@@ -164,7 +164,7 @@ ospf6_delete (struct ospf6 *o)
XFREE (MTYPE_OSPF6_TOP, o);
}
-void
+static void
ospf6_enable (struct ospf6 *o)
{
struct listnode *node, *nnode;
@@ -178,7 +178,7 @@ ospf6_enable (struct ospf6 *o)
}
}
-void
+static void
ospf6_disable (struct ospf6 *o)
{
struct listnode *node, *nnode;
@@ -197,7 +197,7 @@ ospf6_disable (struct ospf6 *o)
}
}
-int
+static int
ospf6_maxage_remover (struct thread *thread)
{
struct ospf6 *o = (struct ospf6 *) THREAD_ARG (thread);
@@ -426,7 +426,7 @@ DEFUN (no_ospf6_interface_area,
return CMD_SUCCESS;
}
-void
+static void
ospf6_show (struct vty *vty, struct ospf6 *o)
{
struct listnode *n;
@@ -498,7 +498,7 @@ ALIAS (show_ipv6_ospf6_route,
"Specify IPv6 prefix\n"
"Detailed information\n"
"Summary of route table\n"
- );
+ )
DEFUN (show_ipv6_ospf6_route_match,
show_ipv6_ospf6_route_match_cmd,
@@ -586,7 +586,7 @@ ALIAS (show_ipv6_ospf6_route,
"Dispaly Inter-Area routes\n"
"Dispaly Type-1 External routes\n"
"Dispaly Type-2 External routes\n"
- );
+ )
DEFUN (show_ipv6_ospf6_route_type_detail,
show_ipv6_ospf6_route_type_detail_cmd,
@@ -617,7 +617,7 @@ DEFUN (show_ipv6_ospf6_route_type_detail,
}
/* OSPF configuration write function. */
-int
+static int
config_write_ospf6 (struct vty *vty)
{
char router_id[16];
@@ -659,7 +659,7 @@ static struct cmd_node ospf6_node =
/* Install ospf related commands. */
void
-ospf6_top_init ()
+ospf6_top_init (void)
{
/* Install ospf6 top node. */
install_node (&ospf6_node, config_write_ospf6);