From 1f8ae70b7b86d132b95a18f0c824deb248987afc Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 9 Sep 2005 23:49:49 +0000 Subject: 2005-09-10 Paul Jakma * bgp_vty.c: (bgp_vty_init) gcc 4 compile fix. static function declarations shouldn't be inside functions. * bgp_dump.c: (bgp_dump_interval_add) ditto. --- bgpd/bgp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgp_vty.c') diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e3642066f..685ea28e6 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -8583,11 +8583,11 @@ struct cmd_node bgp_vpnv4_node = 1 }; +static void community_list_vty (void); + void bgp_vty_init (void) { - static void community_list_vty (void); - /* Install bgp top node. */ install_node (&bgp_node, bgp_config_write); install_node (&bgp_ipv4_unicast_node, NULL); -- cgit v1.2.3