From c144f3a781d77e241a9bf188ad54890f0a3c6fdf Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 1 Aug 2019 20:02:40 +0200 Subject: codec/ecu_fr: Mark input TCH frame as 'const' as we only read it Change-Id: I64c6d3dc08ff87b673ba6225f98546e86f91bcfd --- include/osmocom/codec/ecu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom') diff --git a/include/osmocom/codec/ecu.h b/include/osmocom/codec/ecu.h index f7a29a00..ec0a2f8d 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); -- cgit v1.2.3