From 66e5cd87194ae6fdd51061a91b4698bc0a652f6b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 9 Feb 2009 10:14:16 -0800 Subject: [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 --- ospfd/ospf_snmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd') diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c index 5a0aea1a..cc4974ce 100644 --- a/ospfd/ospf_snmp.c +++ b/ospfd/ospf_snmp.c @@ -1403,7 +1403,7 @@ struct ospf_snmp_if }; static struct ospf_snmp_if * -ospf_snmp_if_new () +ospf_snmp_if_new (void) { return XCALLOC (0, sizeof (struct ospf_snmp_if)); } -- cgit v1.2.1