aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-02 10:36:53 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-01 03:37:43 +0100
commit1be6ea8fa8fd471c8a58e3a9cb9972217a72c71f (patch)
tree20ae7b0c95ed0f6568d7a1bc1322d4f8b758ed28
parent5775c8e41ca7eca17e426015a0a2937819b1cfc3 (diff)
HO: Changed availablilty of ts_is_usable() from static to extern
-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 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 <osmocom/core/talloc.h>
-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)) {