Change in osmo-bts[master]: Make gsm_pchan2chan_nr() static
Max
gerrit-no-reply at lists.osmocom.org
Mon Mar 18 10:43:47 UTC 2019
Max has uploaded this change for review. ( https://gerrit.osmocom.org/13297
Change subject: Make gsm_pchan2chan_nr() static
......................................................................
Make gsm_pchan2chan_nr() static
It's only used inside of gsm_data_shared.c so let's mark it as such.
Change-Id: I83f1783efe9dc07c8bf9901ebc94774aef1cd472
---
M include/osmo-bts/gsm_data_shared.h
M src/common/gsm_data_shared.c
2 files changed, 1 insertion(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/97/13297/1
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 56ab5b1..72d9710 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -818,8 +818,6 @@
gsm_objclass2obj(struct gsm_bts *bts, uint8_t obj_class,
const struct abis_om_obj_inst *obj_inst);
-uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan,
- uint8_t ts_nr, uint8_t lchan_nr);
uint8_t gsm_lchan2chan_nr(const struct gsm_lchan *lchan);
uint8_t gsm_lchan_as_pchan2chan_nr(const struct gsm_lchan *lchan,
enum gsm_phys_chan_config as_pchan);
diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c
index 6703095..b1785b8 100644
--- a/src/common/gsm_data_shared.c
+++ b/src/common/gsm_data_shared.c
@@ -570,7 +570,7 @@
}
/* See Table 10.5.25 of GSM04.08 */
-uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan,
+static uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan,
uint8_t ts_nr, uint8_t lchan_nr)
{
uint8_t cbits, chan_nr;
--
To view, visit https://gerrit.osmocom.org/13297
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83f1783efe9dc07c8bf9901ebc94774aef1cd472
Gerrit-Change-Number: 13297
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190318/f4ebd2b0/attachment.html>
More information about the gerrit-log
mailing list