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/gsm_utils.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/gsm_utils.h')
-rw-r--r-- | include/osmocore/gsm_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocore/gsm_utils.h b/include/osmocore/gsm_utils.h index 25360459..c87e967b 100644 --- a/include/osmocore/gsm_utils.h +++ b/include/osmocore/gsm_utils.h @@ -46,7 +46,7 @@ enum gsm_band { GSM_BAND_810 = 0x80, }; -char *gsm_band_name(enum gsm_band band); +const char *gsm_band_name(enum gsm_band band); enum gsm_band gsm_band_parse(const char *mhz); int gsm_7bit_decode(char *decoded, const uint8_t *user_data, uint8_t length); |