From cbc8062ef8ba10690aa64b433d0efdccb46f496a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 22 Mar 2010 08:28:44 +0800 Subject: fix compiler warnings (itsme ) * added several 'const' for strings. * added 'extern' to declarations of rsl_rlm_cause_strs --- include/osmocore/rsl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocore/rsl.h') diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h index 4c5f75b8..c1080812 100644 --- a/include/osmocore/rsl.h +++ b/include/osmocore/rsl.h @@ -16,7 +16,7 @@ uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot); /* decode channel number as per Section 9.3.1 */ int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *timeslot); -const struct value_string rsl_rlm_cause_strs[]; +extern const struct value_string rsl_rlm_cause_strs[]; const char *rsl_err_name(uint8_t err); -- cgit v1.2.3