Change in osmo-pcu[master]: bts: constify arg in func bts_ms_store()

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Apr 30 17:42:25 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/23992 )

Change subject: bts: constify arg in func bts_ms_store()
......................................................................

bts: constify arg in func bts_ms_store()

Change-Id: I4cc8c4fc075cdd07e689511df8f1c267e5360014
---
M src/bts.cpp
M src/bts.h
2 files changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/src/bts.cpp b/src/bts.cpp
index bcf4d1b..4fe529e 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -1066,7 +1066,7 @@
 	return ms;
 }
 
-struct GprsMsStorage *bts_ms_store(struct gprs_rlcmac_bts *bts)
+struct GprsMsStorage *bts_ms_store(const struct gprs_rlcmac_bts *bts)
 {
 	return bts->ms_store;
 }
diff --git a/src/bts.h b/src/bts.h
index a8b4d7b..ea44fb7 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -301,7 +301,7 @@
 			  enum pcu_gsmtap_category categ, uint8_t channel,
 			  const struct rach_ind_params *rip);
 
-struct GprsMsStorage *bts_ms_store(struct gprs_rlcmac_bts *bts);
+struct GprsMsStorage *bts_ms_store(const struct gprs_rlcmac_bts *bts);
 
 struct GprsMs *bts_ms_by_tlli(struct gprs_rlcmac_bts *bts, uint32_t tlli, uint32_t old_tlli);
 

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I4cc8c4fc075cdd07e689511df8f1c267e5360014
Gerrit-Change-Number: 23992
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210430/9fc0b137/attachment.htm>


More information about the gerrit-log mailing list