diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-06-29 13:01:27 -0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-30 22:01:44 +0200 |
commit | 23431c75c8cc5df8712834e59dd80bd19b5fc298 (patch) | |
tree | b2e0f9c2f60f1fef912d56e7ca1a6d5e2dbfee4b /src/codec/gsm610.c | |
parent | 200710e3eb9617897be2698077cf77909603f245 (diff) |
codec: make data tables constant.
When declaring them constant, they are written on the .rodata section
instead of .data, which means that they can be mapped directly from
disk to memory.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Diffstat (limited to 'src/codec/gsm610.c')
-rw-r--r-- | src/codec/gsm610.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/gsm610.c b/src/codec/gsm610.c index 09fbeb5a..35f6011d 100644 --- a/src/codec/gsm610.c +++ b/src/codec/gsm610.c @@ -30,7 +30,7 @@ * It converts between serial parameter output by the encoder and the * order needed before channel encoding. */ -uint16_t gsm610_bitorder[260] = { +const uint16_t gsm610_bitorder[260] = { 0, /* LARc0:5 */ 47, /* Xmaxc0:5 */ 103, /* Xmaxc1:5 */ |