aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm0411_smc.c4
-rw-r--r--src/gsm/gsm0411_smr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gsm/gsm0411_smc.c b/src/gsm/gsm0411_smc.c
index cd267a07..ff68c089 100644
--- a/src/gsm/gsm0411_smc.c
+++ b/src/gsm/gsm0411_smc.c
@@ -410,7 +410,7 @@ static int gsm411_mnsms_abort_req(struct gsm411_smc_inst *inst,
}
/* statefull handling for MNSMS SAP messages */
-static struct smcdownstate {
+static const struct smcdownstate {
uint32_t states;
int type;
const char *name;
@@ -471,7 +471,7 @@ int gsm411_smc_send(struct gsm411_smc_inst *inst, int msg_type,
}
/* statefull handling for MMSMS SAP messages */
-static struct smcdatastate {
+static const struct smcdatastate {
uint32_t states;
int type, cp_type;
const char *name;
diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index 8003bc82..c6c85e1e 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -369,7 +369,7 @@ static void rp_timer_expired(void *data)
}
/* statefull handling for SM-RL SAP messages */
-static struct smrdownstate {
+static const struct smrdownstate {
uint32_t states;
int type;
const char *name;
@@ -421,7 +421,7 @@ int gsm411_smr_send(struct gsm411_smr_inst *inst, int msg_type,
}
/* statefull handling for MMSMS SAP messages */
-static struct smrdatastate {
+static const struct smrdatastate {
uint32_t states;
int type;
const char *name;