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.
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index 32bf68f..bcd37ea 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -97,7 +97,7 @@
/* 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 @@
};
/* 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)
{