summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_community.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r--bgpd/bgp_community.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c
index 64c6810f..d40d69a2 100644
--- a/bgpd/bgp_community.c
+++ b/bgpd/bgp_community.c
@@ -26,7 +26,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "bgpd/bgp_community.h"
/* Hash of community attribute. */
-struct hash *comhash;
+static struct hash *comhash;
/* Allocate a new communities value. */
static struct community *
@@ -617,7 +617,7 @@ community_str2com (const char *str)
/* Return communities hash entry count. */
unsigned long
-community_count ()
+community_count (void)
{
return comhash->count;
}