[BGP/cleanup] make ecommunity variables/functions local
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index 4d9fc70..6152a1d 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -30,10 +30,10 @@
 #include "bgpd/bgp_aspath.h"
 
 /* Hash of community attribute. */
-struct hash *ecomhash;
+static struct hash *ecomhash;
 
 /* Allocate a new ecommunities.  */
-struct ecommunity *
+static struct ecommunity *
 ecommunity_new (void)
 {
   return (struct ecommunity *) XCALLOC (MTYPE_ECOMMUNITY,