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/.
Max gerrit-no-reply at lists.osmocom.orgMax has uploaded this change for review. ( https://gerrit.osmocom.org/12447
Change subject: Constify trans_assign_trans_id() parameters
......................................................................
Constify trans_assign_trans_id() parameters
Change-Id: If002a1ff6ba4218cc16592946798340fcb1852ae
---
M include/osmocom/msc/transaction.h
M src/libmsc/transaction.c
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/47/12447/1
diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index 0760c07..c4dab15 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -111,7 +111,7 @@
uint32_t callref);
void trans_free(struct gsm_trans *trans);
-int trans_assign_trans_id(struct gsm_network *net, struct vlr_subscr *vsub,
+int trans_assign_trans_id(const struct gsm_network *net, const struct vlr_subscr *vsub,
uint8_t protocol, uint8_t ti_flag);
struct gsm_trans *trans_has_conn(const struct ran_conn *conn);
void trans_conn_closed(struct ran_conn *conn);
diff --git a/src/libmsc/transaction.c b/src/libmsc/transaction.c
index a0f7b31..981687b 100644
--- a/src/libmsc/transaction.c
+++ b/src/libmsc/transaction.c
@@ -182,7 +182,7 @@
* \param[in] protocol Protocol for whihc to find ID
* \param[in] ti_flag FIXME
*/
-int trans_assign_trans_id(struct gsm_network *net, struct vlr_subscr *vsub,
+int trans_assign_trans_id(const struct gsm_network *net, const struct vlr_subscr *vsub,
uint8_t protocol, uint8_t ti_flag)
{
struct gsm_trans *trans;
--
To view, visit https://gerrit.osmocom.org/12447
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If002a1ff6ba4218cc16592946798340fcb1852ae
Gerrit-Change-Number: 12447
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/20190102/80feecaf/attachment.htm>