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_vty.h b/bgpd/bgp_vty.h
index 5256728..d3b4e2b 100644
--- a/bgpd/bgp_vty.h
+++ b/bgpd/bgp_vty.h
@@ -21,7 +21,7 @@
#ifndef _QUAGGA_BGP_VTY_H
#define _QUAGGA_BGP_VTY_H
-void bgp_vty_init ();
-char *afi_safi_print (afi_t, safi_t);
+extern void bgp_vty_init (void);
+extern const char *afi_safi_print (afi_t, safi_t);
#endif /* _QUAGGA_BGP_VTY_H */