From 7c41cd1ac5322180ed9f4d04915278ac5f101eb9 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 Change-Id: I3471e38327c4b98490faed9b604fb76438ba9954 --- 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 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 -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; -- cgit v1.2.3