diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-22 08:28:44 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-22 08:28:44 +0800 |
commit | cbc8062ef8ba10690aa64b433d0efdccb46f496a (patch) | |
tree | 2933e1934358cd65e000938342a106be47e56028 /include/osmocore/rsl.h | |
parent | 6214b92f813e3663957682db8d745a2769e09e96 (diff) |
fix compiler warnings (itsme <itsme@xs4all.nl>)
* added several 'const' for strings.
* added 'extern' to declarations of rsl_rlm_cause_strs
Diffstat (limited to 'include/osmocore/rsl.h')
-rw-r--r-- | include/osmocore/rsl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |