summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_ecommunity.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 10:28:11 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 10:28:11 -0700
commit32ab3831bbea92d1d73dfc110c60a47809a6b4ec (patch)
treeacdb1931baefdda525cf78ee0adc4885158e306f /bgpd/bgp_ecommunity.c
parent7903e753e9355aadb44f6aa71dcf263cd64d9688 (diff)
downloadquagga-32ab3831bbea92d1d73dfc110c60a47809a6b4ec.tar.bz2
quagga-32ab3831bbea92d1d73dfc110c60a47809a6b4ec.tar.xz
BGP make ecommunity variables/functions local
Diffstat (limited to 'bgpd/bgp_ecommunity.c')
-rw-r--r--bgpd/bgp_ecommunity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index f3bba9e3..d1aa0767 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -30,10 +30,10 @@ 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 *
+static struct ecommunity *
ecommunity_new (void)
{
return (struct ecommunity *) XCALLOC (MTYPE_ECOMMUNITY,