Change in osmo-bts[master]: pcu_sock: constify the argument of ts_should_be_pdch()

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Aug 2 19:50:05 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/19508 )


Change subject: pcu_sock: constify the argument of ts_should_be_pdch()
......................................................................

pcu_sock: constify the argument of ts_should_be_pdch()

Change-Id: I636bb05d67a43e0385449d0234577c1390bed350
---
M src/common/pcu_sock.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/08/19508/1

diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 89fa01b..8966b31 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -84,7 +84,8 @@
 	return msg;
 }
 
-static bool ts_should_be_pdch(struct gsm_bts_trx_ts *ts) {
+static bool ts_should_be_pdch(const struct gsm_bts_trx_ts *ts)
+{
 	if (ts->pchan == GSM_PCHAN_PDCH)
 		return true;
 	if (ts->pchan == GSM_PCHAN_TCH_F_PDCH) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19508
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I636bb05d67a43e0385449d0234577c1390bed350
Gerrit-Change-Number: 19508
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200802/aad6316d/attachment.htm>


More information about the gerrit-log mailing list