]> git.puffer.fish Git - mirror/frr.git/commitdiff
[zebra] make some data local
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Sun, 17 Aug 2008 16:41:37 +0000 (17:41 +0100)
committerPaul Jakma <paul@quagga.net>
Fri, 22 Aug 2008 18:56:25 +0000 (19:56 +0100)
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>
zebra/zebra_rib.c

index 09f359780f59291f9b92bc6d962fe5507654f7c8..c88264ba19c69fc7c20e13cb0a420e8b65236d00 100644 (file)
@@ -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
 };
 \f
 /* Vector for routing table.  */
-vector vrf_vector;
+static vector vrf_vector;
 
 /* Allocate new VRF.  */
 static struct vrf *