FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/dec_func.h @ 603:27df1cef042c
libgsmhr1: put aToRc() only in dec_func.c
This function was originally static in sp_dec.c, but now it is needed
both in sp_dec.c and in dec_func.c shared decoder+encoder functions.
Solution: give it intermodule linkage, and let it reside in dec_func.c
only.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 19:05:38 +0000 |
| parents | c7c03231002d |
| children |
line wrap: on
line diff
--- a/libgsmhr1/dec_func.h Thu Dec 04 18:58:22 2025 +0000 +++ b/libgsmhr1/dec_func.h Thu Dec 04 19:05:38 2025 +0000 @@ -20,6 +20,9 @@ void aFlatRcDp(Longword *pL_R, Shortword *pswRc); + short aToRc(Shortword swAshift, Shortword pswAin[], + Shortword pswRc[]); + void b_con(Shortword swCodeWord, short siNumBits, Shortword pswVectOut[]);
