Commit 189cd4d4b36368c9164706104e1dc8125067b52f
1 parent
ec4ef316
Fix for ISO C compliance:
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
Showing
1 changed file
with
2 additions
and
2 deletions
dyngen.h
| @@ -45,7 +45,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) | @@ -45,7 +45,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) | ||
| 45 | 45 | ||
| 46 | #define MIN_CACHE_LINE_SIZE 8 /* conservative value */ | 46 | #define MIN_CACHE_LINE_SIZE 8 /* conservative value */ |
| 47 | 47 | ||
| 48 | -static void inline flush_icache_range(unsigned long start, unsigned long stop) | 48 | +static inline void flush_icache_range(unsigned long start, unsigned long stop) |
| 49 | { | 49 | { |
| 50 | unsigned long p; | 50 | unsigned long p; |
| 51 | 51 | ||
| @@ -68,7 +68,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) | @@ -68,7 +68,7 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) | ||
| 68 | asm ("imb"); | 68 | asm ("imb"); |
| 69 | } | 69 | } |
| 70 | #elif defined(__sparc__) | 70 | #elif defined(__sparc__) |
| 71 | -static void inline flush_icache_range(unsigned long start, unsigned long stop) | 71 | +static inline void flush_icache_range(unsigned long start, unsigned long stop) |
| 72 | { | 72 | { |
| 73 | unsigned long p; | 73 | unsigned long p; |
| 74 | 74 |