[cleanup] functions taking no args should be declared with void args
Use Ansi-C prototypes rather than old K&R method of declaring
function without arguments
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c
index a8d8742..8d8c90c 100644
--- a/bgpd/bgp_clist.c
+++ b/bgpd/bgp_clist.c
@@ -49,7 +49,7 @@
/* Allocate a new community list entry. */
static struct community_entry *
-community_entry_new ()
+community_entry_new (void)
{
return XCALLOC (MTYPE_COMMUNITY_LIST_ENTRY, sizeof (struct community_entry));
}
@@ -86,7 +86,7 @@
/* Allocate a new community-list. */
static struct community_list *
-community_list_new ()
+community_list_new (void)
{
return XCALLOC (MTYPE_COMMUNITY_LIST, sizeof (struct community_list));
}