[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_advertise.c b/bgpd/bgp_advertise.c
index b9f4a85..87eb7ac 100644
--- a/bgpd/bgp_advertise.c
+++ b/bgpd/bgp_advertise.c
@@ -40,7 +40,7 @@
one packet. To do that we maintain attribute hash in struct
peer. */
static struct bgp_advertise_attr *
-baa_new ()
+baa_new (void)
{
return (struct bgp_advertise_attr *)
XCALLOC (MTYPE_BGP_ADVERTISE_ATTR, sizeof (struct bgp_advertise_attr));
@@ -84,7 +84,7 @@
structure. This structure is referred from BGP adjacency
information. */
static struct bgp_advertise *
-bgp_advertise_new ()
+bgp_advertise_new (void)
{
return (struct bgp_advertise *)
XCALLOC (MTYPE_BGP_ADVERTISE, sizeof (struct bgp_advertise));