From 7ba82f70ddf9abf99277b25cd54503a8517a0c15 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 15 May 2009 10:47:45 -0700 Subject: [OSPF/cleanup] make message lists read only --- ospfd/ospfd.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ospfd/ospfd.h') 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; -- cgit v1.2.1