summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-17 17:41:37 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:56:25 +0100
commitd145bc008a03889fff8949890cb8c532ee6aff74 (patch)
treef8bb5b09a4ca2c3f8fa0e93ae6d8a8acd46d3889 /zebra
parent16814f9698a3ee14b1412286c53711a562c348fc (diff)
[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>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_rib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 09f35978..c88264ba 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -51,7 +51,7 @@ extern struct zebra_t zebrad;
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 @@ struct
};
/* Vector for routing table. */
-vector vrf_vector;
+static vector vrf_vector;
/* Allocate new VRF. */
static struct vrf *