FreeCalypso > hg > gsm-codec-lib
changeset 622:3ae5508f9a54 default tip
libgsmhr1/sp_sfrm.c: constify "ROM" static data
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 05 Mar 2026 21:56:18 +0000 |
| parents | d04015a2e076 |
| children | |
| files | libgsmhr1/sp_sfrm.c |
| diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libgsmhr1/sp_sfrm.c Thu Mar 05 21:53:35 2026 +0000 +++ b/libgsmhr1/sp_sfrm.c Thu Mar 05 21:56:18 2026 +0000 @@ -1936,7 +1936,7 @@ | Local Static Variables | |_________________________________________________________________________| */ - static Shortword + static const Shortword pswUpdateIndexV[V_ARRAY_SIZE] = { 0x00, 0x09, 0x48, 0x12, 0x00, 0x51, 0x48, 0x1b, 0x00, 0x09, @@ -2037,9 +2037,6 @@ *ppswDPSpace[C_BITS_V * (C_BITS_V - 1)], pswBits[C_BITS_V - 1], *pswUpdatePtr, - *pswUIndex, - *pswBIndex, - *pswModNextBit, *psw0, *psw1, *psw2, @@ -2050,6 +2047,7 @@ swCCMax, swGMax, sw1; + const Shortword *pswUIndex, *pswBIndex, *pswModNextBit; Longword pL_R[C_BITS_V], L_R, L_MaxC,
