#include "bgpd/bgp_aspath.h"
/* Hash of community attribute. */
-struct hash *ecomhash;
+static struct hash *ecomhash;
\f
/* Allocate a new ecommunities. */
-struct ecommunity *
+static struct ecommunity *
ecommunity_new (void)
{
return (struct ecommunity *) XCALLOC (MTYPE_ECOMMUNITY,
extern void ecommunity_init (void);
extern void ecommunity_free (struct ecommunity *);
-extern struct ecommunity *ecommunity_new (void);
extern struct ecommunity *ecommunity_parse (u_int8_t *, u_short);
extern struct ecommunity *ecommunity_dup (struct ecommunity *);
extern struct ecommunity *ecommunity_merge (struct ecommunity *, struct ecommunity *);