From 1be6ea8fa8fd471c8a58e3a9cb9972217a72c71f Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 2 Jun 2013 10:36:53 +0200 Subject: HO: Changed availablilty of ts_is_usable() from static to extern --- include/osmocom/bsc/chan_alloc.h | 1 + src/libbsc/chan_alloc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/osmocom/bsc/chan_alloc.h b/include/osmocom/bsc/chan_alloc.h index 63c072496..146f28f74 100644 --- a/include/osmocom/bsc/chan_alloc.h +++ b/include/osmocom/bsc/chan_alloc.h @@ -63,6 +63,7 @@ struct pchan_load { void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts); void network_chan_load(struct pchan_load *pl, struct gsm_network *net); +int ts_is_usable(struct gsm_bts_trx_ts *ts); int trx_is_usable(struct gsm_bts_trx *trx); #endif /* _CHAN_ALLOC_H */ diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c index 6396ebb51..cd727fd86 100644 --- a/src/libbsc/chan_alloc.c +++ b/src/libbsc/chan_alloc.c @@ -35,7 +35,7 @@ #include -static int ts_is_usable(struct gsm_bts_trx_ts *ts) +int ts_is_usable(struct gsm_bts_trx_ts *ts) { /* FIXME: How does this behave for BS-11 ? */ if (is_ipaccess_bts(ts->trx->bts)) { -- cgit v1.2.3