From 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 12:44:16 +0000 Subject: 2005-06-28 Paul Jakma * (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. --- bgpd/bgp_table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bgpd/bgp_table.c') 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); -- cgit v1.2.3