summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-12-05 18:34:01 +0100
committerHarald Welte <laforge@gnumonks.org>2018-12-05 19:35:47 +0000
commit5986a3d89d7d68ff61d193dfc222cafbb5bb591e (patch)
tree2ef15262202015ebc6f0b578ae34f6b0bb86122c /include/osmocom
parent14f24c678f122576849eb400c8e64f7f4f403f3f (diff)
gsm_29_118: add missing extern for struct value_string decl.
The value string arrays in the header file (gsm_29_118.h) are not declared as extern. Lets add it now. Change-Id: Ib6c4cbea649f790fa4db1ed2fe2b7e76a60291b4 Related: OS#3615
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/gsm/protocol/gsm_29_118.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_29_118.h b/include/osmocom/gsm/protocol/gsm_29_118.h
index bf210ad0..97a9c431 100644
--- a/include/osmocom/gsm/protocol/gsm_29_118.h
+++ b/include/osmocom/gsm/protocol/gsm_29_118.h
@@ -35,7 +35,7 @@ enum sgsap_msg_type {
/* unassigned */
SGSAP_MSGT_UE_UNREACHABLE = 0x1f,
};
-const struct value_string sgsap_msg_type_names[];
+extern const struct value_string sgsap_msg_type_names[];
static inline const char *sgsap_msg_type_name(enum sgsap_msg_type msgt) {
return get_value_string(sgsap_msg_type_names, msgt);
}
@@ -74,7 +74,7 @@ enum sgsap_iei {
SGSAP_IE_ADDL_PAGING_INDICATORS = 0x26,
SGSAP_IE_TMSI_BASED_NRI_CONT = 0x27,
};
-const struct value_string sgsap_iei_names[];
+extern const struct value_string sgsap_iei_names[];
static inline const char *sgsap_iei_name(enum sgsap_iei iei) {
return get_value_string(sgsap_iei_names, iei);
}
@@ -84,7 +84,7 @@ enum sgsap_eps_lu_type {
SGSAP_EPS_LUT_IMSI_ATTACH = 0x01,
SGSAP_EPS_LUT_NORMAL = 0x02,
};
-const struct value_string sgsap_eps_lu_type_names[];
+extern const struct value_string sgsap_eps_lu_type_names[];
static inline const char *sgsap_eps_lu_type_name(enum sgsap_eps_lu_type lut) {
return get_value_string(sgsap_eps_lu_type_names, lut);
}
@@ -95,7 +95,7 @@ enum sgsap_imsi_det_eps_type {
SGSAP_ID_EPS_T_UE_INITIATED = 0x02,
SGSAP_ID_EPS_T_EPS_NOT_ALLOWED = 0x03,
};
-const struct value_string sgsap_ismi_det_eps_type_names[];
+extern const struct value_string sgsap_ismi_det_eps_type_names[];
static inline const char *sgsap_imsi_det_eps_type_name(enum sgsap_imsi_det_eps_type idt) {
return get_value_string(sgsap_ismi_det_eps_type_names, idt);
}
@@ -106,7 +106,7 @@ enum sgsap_imsi_det_noneps_type {
SGSAP_ID_NONEPS_T_COMBINED_UE_EPS_NONEPS = 0x02,
SGSAP_ID_NONEPS_T_IMPLICIT_UE_EPS_NONEPS = 0x03,
};
-const struct value_string sgsap_ismi_det_noneps_type_names[];
+extern const struct value_string sgsap_ismi_det_noneps_type_names[];
static inline const char *sgsap_imsi_det_noneps_type_name(enum sgsap_imsi_det_noneps_type idt) {
return get_value_string(sgsap_ismi_det_noneps_type_names, idt);
}
@@ -116,7 +116,7 @@ enum sgsap_service_ind {
SGSAP_SERV_IND_CS_CALL = 0x01,
SGSAP_SERV_IND_SMS = 0x02,
};
-const struct value_string sgsap_service_ind_names[];
+extern const struct value_string sgsap_service_ind_names[];
static inline const char *sgsap_service_ind_name(enum sgsap_service_ind si) {
return get_value_string(sgsap_service_ind_names, si);
}
@@ -138,7 +138,7 @@ enum sgsap_sgs_cause {
SGSAP_SGS_CAUSE_MT_CSFB_REJ_USER = 0x0d,
SGSAP_SGS_CAUSE_UE_TEMP_UNREACHABLE = 0x0e,
};
-const struct value_string sgsap_sgs_cause_names[];
+extern const struct value_string sgsap_sgs_cause_names[];
static inline const char *sgsap_sgs_cause_name(enum sgsap_sgs_cause cause) {
return get_value_string(sgsap_sgs_cause_names, cause);
}
@@ -148,7 +148,7 @@ enum sgsap_ue_emm_mode {
SGSAP_UE_EMM_MODE_IDLE = 0x00,
SGSAP_UE_EMM_MODE_CONNECTED = 0x01,
};
-const struct value_string sgsap_ue_emm_mode_names[];
+extern const struct value_string sgsap_ue_emm_mode_names[];
static inline const char *sgsap_ue_emm_mode_name(enum sgsap_ue_emm_mode mode) {
return get_value_string(sgsap_ue_emm_mode_names, mode);
}