commit | 56f59bb2dc430472e59ac554ac756b7745b30866 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Jun 12 17:39:38 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri Jun 12 17:39:38 2009 +0200 |
tree | 61edc7c17a2a2f4a226988fb666397ca01f348b0 | |
parent | c192871ff8c93cef859546f138f6cfba293577f1 [diff] [blame] |
make btstype2str return a const char* to make gcc 4.4 happy
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c index a78425f..e5e789a 100644 --- a/openbsc/src/gsm_data.c +++ b/openbsc/src/gsm_data.c
@@ -174,7 +174,7 @@ return GSM_BTS_TYPE_BS11; /* Default: BS11 */ } -char *btstype2str(enum gsm_bts_type type) +const char *btstype2str(enum gsm_bts_type type) { if (type > ARRAY_SIZE(bts_types)) return "undefined";