[zebra] make some data local
2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com>
* zebra_rib.c: static qualifier on local data
Signed-off-by: Paul Jakma <paul@quagga.net>
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 09f3597..c88264b 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -51,7 +51,7 @@
int rib_process_hold_time = 10;
/* Each route type's string and default distance value. */
-struct
+static const struct
{
int key;
int distance;
@@ -70,7 +70,7 @@
};
/* Vector for routing table. */
-vector vrf_vector;
+static vector vrf_vector;
/* Allocate new VRF. */
static struct vrf *