Skip to content

Commit

Permalink
Drop always_inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Apr 22, 2024
1 parent 32f8403 commit 0d275c8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions g722_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit 0d275c8

Please sign in to comment.