2005-09-10 Paul Jakma <paul.jakma@sun.com>
* 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.
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index e364206..685ea28 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -8583,11 +8583,11 @@
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);