diff --git a/g722_decode.c b/g722_decode.c index a358321..363ec1e 100644 --- a/g722_decode.c +++ b/g722_decode.c @@ -57,7 +57,7 @@ static __inline__ int16_t saturate(int32_t amp) } /*- End of function --------------------------------------------------------*/ -static void block4(G722_DEC_CTX *s, int band, int d); +static void block4(G722_DEC_CTX *, int, int) __attribute__((always_inline)); static void block4(G722_DEC_CTX *s, int band, int d) { diff --git a/g722_encode.c b/g722_encode.c index 8ecb210..4d26f9c 100644 --- a/g722_encode.c +++ b/g722_encode.c @@ -58,7 +58,9 @@ static __inline__ int16_t saturate(int32_t amp) } /*- End of function --------------------------------------------------------*/ -static void block4(G722_ENC_CTX *s, int band, int d) +static void block4(G722_ENC_CTX *, int, int) __attribute__((always_inline)); + +static __attribute__((always_inline)) void block4(G722_ENC_CTX *s, int band, int d) { int wd1; int wd2;