From 1cce69364dbbc5fd8ed6765063c84f415da7ce02 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Nov 2014 12:02:45 +0100 Subject: 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. --- include/osmo-bts/abis.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/osmo-bts/abis.h') diff --git a/include/osmo-bts/abis.h b/include/osmo-bts/abis.h index 8c055d71..62407ece 100644 --- a/include/osmo-bts/abis.h +++ b/include/osmo-bts/abis.h @@ -17,8 +17,8 @@ enum { }; void abis_init(struct gsm_bts *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); int abis_oml_sendmsg(struct msgb *msg); -- cgit v1.2.3