diff options
-rw-r--r-- | openbsc/include/openbsc/chan_alloc.h | 3 | ||||
-rw-r--r-- | openbsc/src/chan_alloc.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index d4f5858b7..fff0ea3f6 100644 --- a/openbsc/include/openbsc/chan_alloc.h +++ b/openbsc/include/openbsc/chan_alloc.h @@ -34,9 +34,6 @@ struct gsm_bts_trx_ts *ts_alloc(struct gsm_bts *bts, /* Regular physical channel (TS) */ void ts_free(struct gsm_bts_trx_ts *ts); -/* Find an allocated channel */ -struct gsm_lchan *lchan_find(struct gsm_bts *bts, struct gsm_subscriber *subscr); - /* Find an allocated channel for a specified subscriber */ struct gsm_lchan *lchan_for_subscr(struct gsm_subscriber *subscr); diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index 9df449f83..480949698 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -378,7 +378,7 @@ static void auto_release_channel(void *_lchan) bsc_schedule_timer(&lchan->conn.release_timer, LCHAN_RELEASE_TIMEOUT); } -struct gsm_lchan* lchan_find(struct gsm_bts *bts, struct gsm_subscriber *subscr) { +static struct gsm_lchan* lchan_find(struct gsm_bts *bts, struct gsm_subscriber *subscr) { struct gsm_bts_trx *trx; int ts_no, lchan_no; |