dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28937 )
Change subject: abis_om2000: constify mo in mo2obj ......................................................................
abis_om2000: constify mo in mo2obj
The function mo2obj does only read only access to mo, so mo can be const.
Change-Id: Ia09d0c96c8938e287fdbad343b9605cbfd6ff6a1 Related: OS#5101 --- M src/osmo-bsc/abis_om2000.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/37/28937/1
diff --git a/src/osmo-bsc/abis_om2000.c b/src/osmo-bsc/abis_om2000.c index a1a6c21..9531611 100644 --- a/src/osmo-bsc/abis_om2000.c +++ b/src/osmo-bsc/abis_om2000.c @@ -932,7 +932,7 @@ return nm_state; }
-static void *mo2obj(struct gsm_bts *bts, struct abis_om2k_mo *mo) +static void *mo2obj(struct gsm_bts *bts, const struct abis_om2k_mo *mo) { struct gsm_bts_trx *trx;