[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/7] audio/mixeng_template.h: fix inline declaration
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 7/7] audio/mixeng_template.h: fix inline declaration |
Date: |
Sat, 26 Oct 2013 13:31:27 +0400 |
From: Alex Bligh <address@hidden>
Fix error: ‘inline’ is not at beginning of declaration
[-Werror=old-style-declaration]
Signed-off-by: Alex Bligh <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
audio/mixeng_template.h | 4 ++--
1 file 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;
--
1.7.10.4
- [Qemu-devel] [PULL 0/7 for-1.7] Trivial patches for 2013-10-26, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 1/7] configure: create fsdev/ directory, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 2/7] misc: New spelling fixes in comments, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 3/7] .gitignore: ignore qmp-commands.txt, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 4/7] qapi: fix documentation example, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 7/7] audio/mixeng_template.h: fix inline declaration,
Michael Tokarev <=
- [Qemu-devel] [PULL 6/7] misc: Spelling and grammar fixes in comments, Michael Tokarev, 2013/10/26
- [Qemu-devel] [PULL 5/7] docs/ccid.txt: fix the typo, Michael Tokarev, 2013/10/26