summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 10:47:45 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-15 10:47:45 -0700
commit1d3bc91aac841b9b30b83fb47586ff3b66e94235 (patch)
tree77f56e9d283f3f99562e24f8d305b146939b2f99 /ospfd/ospfd.h
parent287e61f71993204d42dfd4ce338e2a72678e9fbc (diff)
downloadquagga-1d3bc91aac841b9b30b83fb47586ff3b66e94235.tar.bz2
quagga-1d3bc91aac841b9b30b83fb47586ff3b66e94235.tar.xz
OSPF 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;