diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-09 19:14:16 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-12 18:09:03 +0200 |
commit | 66e5cd87194ae6fdd51061a91b4698bc0a652f6b (patch) | |
tree | 659d31f9a7dfb8d9ad9a51f37ff0853054a45399 /bgpd/bgp_snmp.c | |
parent | [cleanup] add const attribute to lib/if.c::if_dump (diff) | |
download | frr-66e5cd87194ae6fdd51061a91b4698bc0a652f6b.tar.xz frr-66e5cd87194ae6fdd51061a91b4698bc0a652f6b.zip |
[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_snmp.c')
-rw-r--r-- | bgpd/bgp_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c index 0f44e68d3..1e37f266a 100644 --- a/bgpd/bgp_snmp.c +++ b/bgpd/bgp_snmp.c @@ -882,7 +882,7 @@ bgpTrapBackwardTransition (struct peer *peer) } void -bgp_snmp_init () +bgp_snmp_init (void) { smux_init (bm->master); REGISTER_MIB("mibII/bgp", bgp_variables, variable, bgp_oid); |