2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (global) The great bgpd extern and static'ification.
* bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code
(route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison
warnings.
* bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these
used by various files which had their own private declarations,
in the case of mplsvpn - incorrect.
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index edcc9f0..1b398ee 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -644,7 +644,7 @@
return CMD_SUCCESS;
}
-int
+static int
bgp_config_write_debug (struct vty *vty)
{
int write = 0;
@@ -706,7 +706,7 @@
};
void
-bgp_debug_init ()
+bgp_debug_init (void)
{
install_node (&debug_node, bgp_config_write_debug);