From 914e52e73a9487be260e5abbf816905b9a7f1da7 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 5 Aug 2022 11:54:15 +0200 Subject: [PATCH] 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 --- src/osmo-bsc/abis_om2000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;