diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-15 19:47:45 +0200 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-18 21:18:30 +0200 |
commit | 7ba82f70ddf9abf99277b25cd54503a8517a0c15 (patch) | |
tree | 85ab34cd3d20d7ee28342614b62d26b32e7bd68a /ospfd/ospfd.c | |
parent | [bgpd/cleanup] make message lists read only (diff) | |
download | frr-7ba82f70ddf9abf99277b25cd54503a8517a0c15.tar.xz frr-7ba82f70ddf9abf99277b25cd54503a8517a0c15.zip |
[OSPF/cleanup] make message lists read only
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a9714f58d..08e410056 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) |