aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 12:02:45 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 12:02:45 +0100
commit1cce69364dbbc5fd8ed6765063c84f415da7ce02 (patch)
treed64127f9cd4a7493ca28adab745c125f2586093a /src/common
parent8332e29c9f3f97cbe22f83673cac4e68c57959f1 (diff)
abis: Fix compiler warning and remove const from syntax
libosmo-abis doesn't make it easy to have these parameters as const.. just declare it non-const in the api. We pass a static string but we know it will not be modified.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/abis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/abis.c b/src/common/abis.c
index d546a760..9eb49a08 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -209,8 +209,8 @@ void abis_init(struct gsm_bts *bts)
osmo_signal_register_handler(SS_L_INPUT, &inp_s_cbfn, bts);
}
-struct e1inp_line *abis_open(struct gsm_bts *bts, const char *dst_host,
- const char *model_name)
+struct e1inp_line *abis_open(struct gsm_bts *bts, char *dst_host,
+ char *model_name)
{
struct e1inp_line *line;