aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2022-08-05 11:54:15 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2022-08-05 11:55:41 +0200
commit914e52e73a9487be260e5abbf816905b9a7f1da7 (patch)
tree22a59aac4aaa557b3b908bc975f14dac40cb054e /src/osmo-bsc
parentcba82e60e8f7b6c7532f89d77b21ab4b54979169 (diff)
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
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/abis_om2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/abis_om2000.c b/src/osmo-bsc/abis_om2000.c
index a1a6c2195..95316115b 100644
--- a/src/osmo-bsc/abis_om2000.c
+++ b/src/osmo-bsc/abis_om2000.c
@@ -932,7 +932,7 @@ static struct gsm_nm_state *mo2nm_state(struct gsm_bts *bts, const struct abis_o
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;