]> git.proxmox.com Git - qemu.git/commitdiff
audio/mixeng_template.h: fix inline declaration
authorAlex Bligh <alex@alex.org.uk>
Tue, 22 Oct 2013 09:26:28 +0000 (10:26 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 26 Oct 2013 09:09:34 +0000 (13:09 +0400)
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>
audio/mixeng_template.h

index 30849a62a1370b1c506ece4c0a3ecd42add245d8..77cc89b9e8088bc12e9f66da66de2dd90c73bbd6 100644 (file)
@@ -35,7 +35,7 @@
 #define IN_T glue (glue (ITYPE, BSIZE), _t)
 
 #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);
 
@@ -54,7 +54,7 @@ static mixeng_real inline glue (conv_, ET) (IN_T v)
 #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) {
         return IN_MAX;