aboutsummaryrefslogtreecommitdiffstats
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
parentea4b12aa5ddc054547926f5eca0e036268c1e98e (diff)
abis_nm: Mark the structs as extern to avoid compiler warning0.3.1+deb1
warning: array ‘abis_nm_obj_class_names’ assumed to have one element
-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 e7c3769..720b603 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);