From 3036612d59a5c8d97b2086a5e7817613f45948ef Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 23 May 2011 21:41:34 +0200 Subject: abis_nm: Mark the structs as extern to avoid compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: array ‘abis_nm_obj_class_names’ assumed to have one element --- include/osmocom/gsm/abis_nm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h index e7c3769d..720b603d 100644 --- a/include/osmocom/gsm/abis_nm.h +++ b/include/osmocom/gsm/abis_nm.h @@ -9,8 +9,8 @@ const enum abis_nm_msgtype abis_nm_no_ack_nack[3]; const enum abis_nm_msgtype abis_nm_sw_load_msgs[9]; const enum abis_nm_msgtype abis_nm_nacks[33]; -const struct value_string abis_nm_obj_class_names[]; -const struct value_string abis_nm_adm_state_names[]; +extern const struct value_string abis_nm_obj_class_names[]; +extern const struct value_string abis_nm_adm_state_names[]; const char *abis_nm_nack_cause_name(uint8_t cause); const char *abis_nm_nack_name(uint8_t nack); -- cgit v1.2.3