aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-06-12 17:39:38 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-06-12 17:39:38 +0200
commit2dceae6ab748044f5cc611cf66d81147625a4e78 (patch)
tree61edc7c17a2a2f4a226988fb666397ca01f348b0 /openbsc/include
parent8426a83908cf8cdfe230d4ea5c443a273ad48aa4 (diff)
make btstype2str return a const char* to make gcc 4.4 happy
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 1fb80a2f3..ad6401e9c 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -388,7 +388,7 @@ enum gsm_e1_event {
void set_ts_e1link(struct gsm_bts_trx_ts *ts, u_int8_t e1_nr,
u_int8_t e1_ts, u_int8_t e1_ts_ss);
enum gsm_bts_type parse_btstype(char *arg);
-char *btstype2str(enum gsm_bts_type type);
+const char *btstype2str(enum gsm_bts_type type);
struct gsm_bts *gsm_bts_by_lac(struct gsm_network *net, unsigned int lac,
struct gsm_bts *start_bts);