summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.c
diff options
context:
space:
mode:
authorpaul <paul>2005-06-28 12:44:16 +0000
committerpaul <paul>2005-06-28 12:44:16 +0000
commit94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (patch)
tree59c0291a76b1c97fbb089abb479307f19cdfd4c1 /bgpd/bgp_table.c
parent7cad40007b9714dba65065916ea68577f9d3d6dd (diff)
downloadquagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.bz2
quagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.xz
2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect.
Diffstat (limited to 'bgpd/bgp_table.c')
-rw-r--r--bgpd/bgp_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_table.c b/bgpd/bgp_table.c
index c468173d..a9199d64 100644
--- a/bgpd/bgp_table.c
+++ b/bgpd/bgp_table.c
@@ -50,7 +50,7 @@ bgp_table_finish (struct bgp_table *rt)
bgp_table_free (rt);
}
-struct bgp_node *
+static struct bgp_node *
bgp_node_create ()
{
struct bgp_node *rn;
@@ -61,7 +61,7 @@ bgp_node_create ()
}
/* Allocate new route node with prefix set. */
-struct bgp_node *
+static struct bgp_node *
bgp_node_set (struct bgp_table *table, struct prefix *prefix)
{
struct bgp_node *node;
@@ -75,7 +75,7 @@ bgp_node_set (struct bgp_table *table, struct prefix *prefix)
}
/* Free route node. */
-void
+static void
bgp_node_free (struct bgp_node *node)
{
XFREE (MTYPE_BGP_NODE, node);