aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/bsc/chan_alloc.h1
-rw-r--r--src/libbsc/chan_alloc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/bsc/chan_alloc.h b/include/osmocom/bsc/chan_alloc.h
index 62d0286ef..f2a75c5b8 100644
--- a/include/osmocom/bsc/chan_alloc.h
+++ b/include/osmocom/bsc/chan_alloc.h
@@ -47,5 +47,6 @@ 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);
bool trx_is_usable(const struct gsm_bts_trx *trx);
+bool ts_is_usable(const struct gsm_bts_trx_ts *ts);
#endif /* _CHAN_ALLOC_H */
diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c
index 1caa13d9a..99466283c 100644
--- a/src/libbsc/chan_alloc.c
+++ b/src/libbsc/chan_alloc.c
@@ -34,7 +34,7 @@
#include <osmocom/core/talloc.h>
-static bool ts_is_usable(const struct gsm_bts_trx_ts *ts)
+bool ts_is_usable(const struct gsm_bts_trx_ts *ts)
{
if (!trx_is_usable(ts->trx))
return false;