chan_alloc: Make the lchan_find(bts,subscr) private/internal..

This commit is contained in:
Holger Hans Peter Freyther 2010-06-16 13:05:35 +08:00
parent 0128843591
commit ea01ca764f
2 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -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;