diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-06-02 10:36:53 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-29 12:44:29 +0200 |
commit | 149db9290fb3b722f1c01553dc8d7ffa2317281a (patch) | |
tree | 9011e07fae514f7c644e7a7f3c7177d0038ae82e | |
parent | d2909f968412c5f1e3e05f56223884d92a4e0cf7 (diff) |
HO: Changed availablilty of ts_is_usable() from static to extern
-rw-r--r-- | openbsc/include/openbsc/chan_alloc.h | 1 | ||||
-rw-r--r-- | openbsc/src/libbsc/chan_alloc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index 63c072496..146f28f74 100644 --- a/openbsc/include/openbsc/chan_alloc.h +++ b/openbsc/include/openbsc/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/openbsc/src/libbsc/chan_alloc.c b/openbsc/src/libbsc/chan_alloc.c index 6396ebb51..cd727fd86 100644 --- a/openbsc/src/libbsc/chan_alloc.c +++ b/openbsc/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)) { |