From 73b104f1bb1768886795528331bc5108e43cae62 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Sun, 21 Apr 2024 19:10:18 -0700 Subject: [PATCH] Drop always_inline. --- g722_common.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/g722_common.h b/g722_common.h index a881fb9..b0b1c19 100644 --- a/g722_common.h +++ b/g722_common.h @@ -34,9 +34,7 @@ #define TRUE (!FALSE) #endif -static int16_t saturate(int32_t) __attribute__((always_inline)); - -static int16_t saturate(int32_t amp) +static inline int16_t saturate(int32_t amp) { int16_t amp16; @@ -50,9 +48,7 @@ static int16_t saturate(int32_t amp) } /*- End of function --------------------------------------------------------*/ -static void block4(struct g722_band *, int) __attribute__((always_inline)); - -static void block4(struct g722_band *band, int d) +static inline void block4(struct g722_band *band, int d) { int wd1; int wd2;