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.
This commit is contained in:
parent
8332e29c9f
commit
1cce69364d
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue