summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-22 08:28:44 +0800
committerHarald Welte <laforge@gnumonks.org>2010-03-22 08:28:44 +0800
commitcbc8062ef8ba10690aa64b433d0efdccb46f496a (patch)
tree2933e1934358cd65e000938342a106be47e56028 /src
parent6214b92f813e3663957682db8d745a2769e09e96 (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 'src')
-rw-r--r--src/gsm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm_utils.c b/src/gsm_utils.c
index 97497c8e..593dd5c9 100644
--- a/src/gsm_utils.c
+++ b/src/gsm_utils.c
@@ -193,7 +193,7 @@ uint8_t dbm2rxlev(int dbm)
return rxlev;
}
-char *gsm_band_name(enum gsm_band band)
+const char *gsm_band_name(enum gsm_band band)
{
switch (band) {
case GSM_BAND_450: