summaryrefslogtreecommitdiff
path: root/bgpd/bgp_clist.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-09 10:14:16 -0800
committerPaul Jakma <paul@quagga.net>2009-06-12 17:09:03 +0100
commit66e5cd87194ae6fdd51061a91b4698bc0a652f6b (patch)
tree659d31f9a7dfb8d9ad9a51f37ff0853054a45399 /bgpd/bgp_clist.c
parentcedd7f2fa6823bca9ddcfb062f97ed83b11a80dd (diff)
[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
Diffstat (limited to 'bgpd/bgp_clist.c')
-rw-r--r--bgpd/bgp_clist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c
index a8d8742f..8d8c90c4 100644
--- a/bgpd/bgp_clist.c
+++ b/bgpd/bgp_clist.c
@@ -49,7 +49,7 @@ community_list_master_lookup (struct community_list_handler *ch, int master)
/* 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 @@ community_entry_free (struct community_entry *entry)
/* 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));
}