constify bsc_conn_by_bsub() ptr param
Change-Id: I44b1397e7771c803efdca6bf59750ca5568df365changes/22/31822/1
parent
30ecd0a767
commit
c90c63bec0
|
@ -26,7 +26,7 @@
|
|||
/* Allocate resources to make a new connection oriented sigtran connection
|
||||
* (not the connection ittself!) */
|
||||
enum bsc_con osmo_bsc_sigtran_new_conn(struct gsm_subscriber_connection *conn, struct bsc_msc_data *msc);
|
||||
struct gsm_subscriber_connection *bsc_conn_by_bsub(struct bsc_subscr *bsub);
|
||||
struct gsm_subscriber_connection *bsc_conn_by_bsub(const struct bsc_subscr *bsub);
|
||||
|
||||
/* Open a new connection oriented sigtran connection */
|
||||
int osmo_bsc_sigtran_open_conn(struct gsm_subscriber_connection *conn, struct msgb *msg);
|
||||
|
|
|
@ -59,7 +59,7 @@ static struct gsm_subscriber_connection *get_bsc_conn_by_conn_id(int conn_id)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
struct gsm_subscriber_connection *bsc_conn_by_bsub(struct bsc_subscr *bsub)
|
||||
struct gsm_subscriber_connection *bsc_conn_by_bsub(const struct bsc_subscr *bsub)
|
||||
{
|
||||
struct gsm_subscriber_connection *conn;
|
||||
if (!bsub)
|
||||
|
|
Loading…
Reference in New Issue