[PATCH] osmo-bsc[master]: HO: Changed availablilty of ts_is_usable() from static to ex...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Jan 19 03:03:55 UTC 2018


Review at  https://gerrit.osmocom.org/5904

HO: Changed availablilty of ts_is_usable() from static to extern

Change-Id: I3471e38327c4b98490faed9b604fb76438ba9954
---
M include/osmocom/bsc/chan_alloc.h
M src/libbsc/chan_alloc.c
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/04/5904/1

diff --git a/include/osmocom/bsc/chan_alloc.h b/include/osmocom/bsc/chan_alloc.h
index 62d0286..f2a75c5 100644
--- a/include/osmocom/bsc/chan_alloc.h
+++ b/include/osmocom/bsc/chan_alloc.h
@@ -47,5 +47,6 @@
 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 1caa13d..9946628 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;

-- 
To view, visit https://gerrit.osmocom.org/5904
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3471e38327c4b98490faed9b604fb76438ba9954
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list