summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 10:47:45 -0700
committerPaul Jakma <paul@quagga.net>2009-06-18 20:18:30 +0100
commit7ba82f70ddf9abf99277b25cd54503a8517a0c15 (patch)
tree85ab34cd3d20d7ee28342614b62d26b32e7bd68a /ospfd/ospfd.c
parentb2d933f8280a4d9eee8a9330282e705514a96a03 (diff)
[OSPF/cleanup] make message lists read only
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index a9714f58..08e41005 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -1025,13 +1025,13 @@ ospf_remove_vls_through_area (struct ospf *ospf, struct ospf_area *area)
}
-struct message ospf_area_type_msg[] =
+static const struct message ospf_area_type_msg[] =
{
{ OSPF_AREA_DEFAULT, "Default" },
{ OSPF_AREA_STUB, "Stub" },
{ OSPF_AREA_NSSA, "NSSA" },
};
-int ospf_area_type_msg_max = OSPF_AREA_TYPE_MAX;
+static const int ospf_area_type_msg_max = OSPF_AREA_TYPE_MAX;
static void
ospf_area_type_set (struct ospf_area *area, int type)