summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gsm/abis_nm.c2
-rw-r--r--src/gsm/lapd_core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index f6d4003e..f3f3a423 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -380,7 +380,7 @@ const char *abis_nm_avail_name(uint8_t avail)
return get_value_string(avail_names, avail);
}
-static struct value_string test_names[] = {
+static const struct value_string test_names[] = {
/* FIXME: standard test names */
{ NM_IPACC_TESTNO_CHAN_USAGE, "Channel Usage" },
{ NM_IPACC_TESTNO_BCCH_CHAN_USAGE, "BCCH Channel Usage" },
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index 96099edb..d9a1a636 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -2070,7 +2070,7 @@ static int lapd_rel_req_idle(struct osmo_dlsap_prim *dp,
}
/* statefull handling for DL SAP messages from L3 */
-static struct l2downstate {
+static const struct l2downstate {
uint32_t states;
int prim, op;
const char *name;