commit | 66e5cd87194ae6fdd51061a91b4698bc0a652f6b | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Mon Feb 09 10:14:16 2009 -0800 |
committer | Paul Jakma <paul@quagga.net> | Fri Jun 12 17:09:03 2009 +0100 |
tree | 659d31f9a7dfb8d9ad9a51f37ff0853054a45399 | |
parent | cedd7f2fa6823bca9ddcfb062f97ed83b11a80dd [diff] [blame] |
[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/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c index 5a0aea1..cc4974c 100644 --- a/ospfd/ospf_snmp.c +++ b/ospfd/ospf_snmp.c
@@ -1403,7 +1403,7 @@ }; static struct ospf_snmp_if * -ospf_snmp_if_new () +ospf_snmp_if_new (void) { return XCALLOC (0, sizeof (struct ospf_snmp_if)); }