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

laforge gerrit-no-reply at lists.osmocom.org
Sun Aug 2 20:17:43 UTC 2020


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200802/e6ed3c7b/attachment.htm>


More information about the gerrit-log mailing list