summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-23 21:41:34 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-23 21:41:34 +0200
commit3036612d59a5c8d97b2086a5e7817613f45948ef (patch)
tree307a8becedcee7ed2a8c447b74acaf82dc4d333f /include/osmocom/gsm
parentea4b12aa5ddc054547926f5eca0e036268c1e98e (diff)
abis_nm: Mark the structs as extern to avoid compiler warning
warning: array ‘abis_nm_obj_class_names’ assumed to have one element
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/abis_nm.h4
1 files 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);