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_ecommunity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgp_ecommunity.c') diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index 32bf68f1..bcd37ea6 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -97,7 +97,7 @@ ecommunity_add_val (struct ecommunity *ecom, struct ecommunity_val *eval) /* This function takes pointer to Extended Communites strucutre then create a new Extended Communities structure by uniq and sort each Exteneded Communities value. */ -struct ecommunity * +static struct ecommunity * ecommunity_uniq_sort (struct ecommunity *ecom) { int i; @@ -271,7 +271,7 @@ enum ecommunity_token }; /* Get next Extended Communities token from the string. */ -const char * +static const char * ecommunity_gettoken (const char *str, struct ecommunity_val *eval, enum ecommunity_token *token) { -- cgit v1.2.1