summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.h
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.h
parentb2d933f8280a4d9eee8a9330282e705514a96a03 (diff)
[OSPF/cleanup] make message lists read only
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 6a60e86f..6ba19162 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -535,17 +535,17 @@ struct ospf_nbr_nbma
/* Extern variables. */
extern struct ospf_master *om;
-extern struct message ospf_ism_state_msg[];
-extern struct message ospf_nsm_state_msg[];
-extern struct message ospf_lsa_type_msg[];
-extern struct message ospf_link_state_id_type_msg[];
-extern struct message ospf_network_type_msg[];
-extern int ospf_ism_state_msg_max;
-extern int ospf_nsm_state_msg_max;
-extern int ospf_lsa_type_msg_max;
-extern int ospf_link_state_id_type_msg_max;
-extern int ospf_redistributed_proto_max;
-extern int ospf_network_type_msg_max;
+extern const struct message ospf_ism_state_msg[];
+extern const struct message ospf_nsm_state_msg[];
+extern const struct message ospf_lsa_type_msg[];
+extern const struct message ospf_link_state_id_type_msg[];
+extern const struct message ospf_network_type_msg[];
+extern const int ospf_ism_state_msg_max;
+extern const int ospf_nsm_state_msg_max;
+extern const int ospf_lsa_type_msg_max;
+extern const int ospf_link_state_id_type_msg_max;
+extern const int ospf_redistributed_proto_max;
+extern const int ospf_network_type_msg_max;
extern struct zclient *zclient;
extern struct thread_master *master;
extern int ospf_zlog;