diff options
Diffstat (limited to 'bgpd/bgp_ecommunity.c')
-rw-r--r-- | bgpd/bgp_ecommunity.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index 6b221e24..6152a1db 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -30,11 +30,11 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #include "bgpd/bgp_aspath.h" /* Hash of community attribute. */ -struct hash *ecomhash; +static struct hash *ecomhash; /* Allocate a new ecommunities. */ -struct ecommunity * -ecommunity_new () +static struct ecommunity * +ecommunity_new (void) { return (struct ecommunity *) XCALLOC (MTYPE_ECOMMUNITY, sizeof (struct ecommunity)); @@ -108,7 +108,7 @@ ecommunity_uniq_sort (struct ecommunity *ecom) if (! ecom) return NULL; - new = ecommunity_new ();; + new = ecommunity_new (); for (i = 0; i < ecom->size; i++) { |