diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2012-02-24 14:13:16 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-24 18:47:52 +0200 |
commit | 03bb9d3426af326642cb4ff280a793cd69a0d844 (patch) | |
tree | 5213a643c6f0ec3dfa8b900c9cd57d87752a4db4 /sbc | |
parent | 2b9fc1b2d9cce2f2b635813b7787b40fa334132b (diff) |
sbc: fix "always_inline function might not be inlinable" warning
"__attribute__((always_inline))" does not replace "inline" and they
still need to be used together. This fixes "always_inline function
might not be inlinable [-Wattributes]" warning in gcc 4.7
Diffstat (limited to 'sbc')
-rw-r--r-- | sbc/sbc_primitives.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbc_primitives.h b/sbc/sbc_primitives.h index 3fec8d5b..17ad4f74 100644 --- a/sbc/sbc_primitives.h +++ b/sbc/sbc_primitives.h @@ -31,7 +31,7 @@ #define SBC_X_BUFFER_SIZE 328 #ifdef __GNUC__ -#define SBC_ALWAYS_INLINE __attribute__((always_inline)) +#define SBC_ALWAYS_INLINE inline __attribute__((always_inline)) #else #define SBC_ALWAYS_INLINE inline #endif |