aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAlex Bligh <alex@alex.org.uk>2013-10-22 10:26:28 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2013-10-26 13:09:34 +0400
commit203cea22a3d33ac86d170af74f8c655f119c8c62 (patch)
treeccda58fb69bb24ffb73a0eb3e2089bdfedff1104 /audio
parent59b00962136f5621895bee7c96b2a1d9271b9dc5 (diff)
downloadqemu-203cea22a3d33ac86d170af74f8c655f119c8c62.zip
qemu-203cea22a3d33ac86d170af74f8c655f119c8c62.tar.gz
qemu-203cea22a3d33ac86d170af74f8c655f119c8c62.tar.bz2
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>
Diffstat (limited to 'audio')
-rw-r--r--audio/mixeng_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/mixeng_template.h b/audio/mixeng_template.h
index 30849a6..77cc89b 100644
--- a/audio/mixeng_template.h
+++ b/audio/mixeng_template.h
@@ -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;