diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-05 18:56:33 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-05 18:56:33 -0700 |
commit | ceb9411e2a867544a745cd3eddc68f2232ed143d (patch) | |
tree | 8e872cdec7dd859a2e69a0781e6d9b5c1b2726c8 /zebra/zebra_rib.c | |
parent | 84cc940a9b74d5a867a5598f4b0f6c657eb61c9c (diff) | |
download | quagga-ceb9411e2a867544a745cd3eddc68f2232ed143d.tar.bz2 quagga-ceb9411e2a867544a745cd3eddc68f2232ed143d.tar.xz |
Make some rib data structures private
The route_info table can be static const, and the vrf_table can be
static.
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 * |