mgw_fsm: Mark structs as static const

Change-Id: Ie62f28587c08296429c0dabda7b6add67ffa010c
This commit is contained in:
Pau Espin 2022-06-14 17:46:04 +02:00
parent ff2fbdf998
commit 8c7aae87b0
1 changed files with 2 additions and 2 deletions

View File

@ -122,12 +122,12 @@ struct mgw_fsm_priv {
uint16_t msc_rtp_port;
};
struct osmo_tdef mgw_tdefs[] = {
static const struct osmo_tdef mgw_tdefs[] = {
{.T = -2427, .default_val = 5, .desc = "timeout for MGCP response from MGW" },
{ }
};
struct osmo_tdef_state_timeout mgw_fsm_timeouts[32] = {
static const struct osmo_tdef_state_timeout mgw_fsm_timeouts[32] = {
[MGW_ST_CRCX_HNB] = {.T = -1001 },
[MGW_ST_ASSIGN] = {.T = -1002 },
[MGW_ST_MDCX_HNB] = {.T = -1003 },