OSDN Git Service

Fix for ISO C compliance:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 18 Nov 2007 15:50:41 +0000 (15:50 +0000)
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 18 Nov 2007 15:50:41 +0000 (15:50 +0000)
 function qualifiers must always come before the return type.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3691 c046a42c-6fe2-441c-8c8c-71466251a162

dyngen.h

index 266b9e9..4451d54 100644 (file)
--- a/dyngen.h
+++ b/dyngen.h
@@ -45,7 +45,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop)
 
 #define MIN_CACHE_LINE_SIZE 8 /* conservative value */
 
-static void inline flush_icache_range(unsigned long start, unsigned long stop)
+static inline void flush_icache_range(unsigned long start, unsigned long stop)
 {
     unsigned long p;
 
@@ -68,7 +68,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop)
     asm ("imb");
 }
 #elif defined(__sparc__)
-static void inline flush_icache_range(unsigned long start, unsigned long stop)
+static inline void flush_icache_range(unsigned long start, unsigned long stop)
 {
        unsigned long p;