diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2022-08-03 13:33:27 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2022-08-04 10:06:25 +0200 |
commit | c46cfac49dbc39b8ca23c908319cdc5fa2d45ca4 (patch) | |
tree | f768630f9d5fdca84b8cd44653ded3539802fe99 /include/osmocom/bsc/signal.h | |
parent | 99262fd4477503fe5232ccee86fc376e28958263 (diff) |
signal.h: make om2k mo const
The om2k mo that is put into the nsd as reference to notify other
entities about the signal change can be const. Its only accessed
read-only (if at all) and also the API in abis_om2000.h suggests that
the om2k mo should be const.
Change-Id: Id0969d44855506af18974de1ea81105653920d2f
Related: OS#5634
Diffstat (limited to 'include/osmocom/bsc/signal.h')
-rw-r--r-- | include/osmocom/bsc/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h index 66776daff..300bd55d2 100644 --- a/include/osmocom/bsc/signal.h +++ b/include/osmocom/bsc/signal.h @@ -138,7 +138,7 @@ struct nm_statechg_signal_data { /* This pointer is valid for TS 12.21 MO */ struct abis_om_obj_inst *obj_inst; /* This pointer is valid for RBS2000 MO */ - struct abis_om2k_mo *om2k_mo; + const struct abis_om2k_mo *om2k_mo; }; /* data for <SS_NM, S_NM_RUNNING_CHG>: */ |