aboutsummaryrefslogtreecommitdiffstats
path: root/src/l1
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-10-18 22:33:39 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-10-18 22:33:39 +0200
commit93848d25af9f20e4ac75ea00bf65490d2b56cc05 (patch)
tree98e6823fe9af39ed03d1c860fee420fb9ad93dca /src/l1
parent8b388923e72956155f15e00bf6a7d44785daaa65 (diff)
l1/bcch: Add 'const' to input arguments of channel coding funcs
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/l1')
-rw-r--r--src/l1/bcch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/l1/bcch.c b/src/l1/bcch.c
index 4f3ccc9..43700e6 100644
--- a/src/l1/bcch.c
+++ b/src/l1/bcch.c
@@ -60,7 +60,7 @@ gmr1_bcch_init(void)
* mapped on a burst.
*/
void
-gmr1_bcch_encode(ubit_t *bits_e, uint8_t *l2)
+gmr1_bcch_encode(ubit_t *bits_e, const uint8_t *l2)
{
ubit_t bits_u[208];
ubit_t bits_c[424];
@@ -83,7 +83,7 @@ gmr1_bcch_encode(ubit_t *bits_e, uint8_t *l2)
* mapped on a burst.
*/
int
-gmr1_bcch_decode(uint8_t *l2, sbit_t *bits_e, int *conv_rv)
+gmr1_bcch_decode(uint8_t *l2, const sbit_t *bits_e, int *conv_rv)
{
sbit_t bits_ep[424];
sbit_t bits_c[424];