From ceb9411e2a867544a745cd3eddc68f2232ed143d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 5 Jul 2008 18:56:33 -0700 Subject: Make some rib data structures private The route_info table can be static const, and the vrf_table can be static. --- zebra/zebra_rib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/zebra_rib.c') diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 59b53fa1..8580517a 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 * -- cgit v1.2.3