aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-08-01 20:02:40 +0200
committerlaforge <laforge@gnumonks.org>2019-08-12 08:43:12 +0000
commitc144f3a781d77e241a9bf188ad54890f0a3c6fdf (patch)
tree536557d00ac75cdd471195ccf2f41a453d261a8b /include
parentc996d652f974f803653ce66d27d60675c1f77c2e (diff)
codec/ecu_fr: Mark input TCH frame as 'const' as we only read itHEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/codec/ecu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/codec/ecu.h b/include/osmocom/codec/ecu.h
index f7a29a0..ec0a2f8 100644
--- a/include/osmocom/codec/ecu.h
+++ b/include/osmocom/codec/ecu.h
@@ -11,5 +11,5 @@ struct osmo_ecu_fr_state {
uint8_t frame_backup[GSM_FR_BYTES];
};
-void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, uint8_t *frame);
+void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, const uint8_t *frame);
int osmo_ecu_fr_conceal(struct osmo_ecu_fr_state *state, uint8_t *frame);