audio/mixeng_template.h: fix inline declaration
Fix error: ‘inline’ is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
59b0096213
commit
203cea22a3
@ -35,7 +35,7 @@
|
|||||||
#define IN_T glue (glue (ITYPE, BSIZE), _t)
|
#define IN_T glue (glue (ITYPE, BSIZE), _t)
|
||||||
|
|
||||||
#ifdef FLOAT_MIXENG
|
#ifdef FLOAT_MIXENG
|
||||||
static mixeng_real inline glue (conv_, ET) (IN_T v)
|
static inline mixeng_real glue (conv_, ET) (IN_T v)
|
||||||
{
|
{
|
||||||
IN_T nv = ENDIAN_CONVERT (v);
|
IN_T nv = ENDIAN_CONVERT (v);
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ static mixeng_real inline glue (conv_, ET) (IN_T v)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static IN_T inline glue (clip_, ET) (mixeng_real v)
|
static inline IN_T glue (clip_, ET) (mixeng_real v)
|
||||||
{
|
{
|
||||||
if (v >= 0.5) {
|
if (v >= 0.5) {
|
||||||
return IN_MAX;
|
return IN_MAX;
|
||||||
|
Loading…
Reference in New Issue
Block a user