diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-10-04 12:45:00 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-10-04 12:45:00 +0200 |
commit | 7e8ba10779a3fb11d587e8a59fe389acd2412dd0 (patch) | |
tree | a6af47e3fcca0fe0e0209d2720dbedeb656d31a2 /common/bitops.h | |
parent | e443c9f6039407633d38a0eba03c344272ac8559 (diff) |
Remove INLINE usage
Since inline is c99 and its already used in some files
Diffstat (limited to 'common/bitops.h')
-rw-r--r-- | common/bitops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/bitops.h b/common/bitops.h index d1cae0c..eb294fe 100644 --- a/common/bitops.h +++ b/common/bitops.h @@ -39,7 +39,7 @@ static inline int spice_bit_find_msb(unsigned int val) } #elif defined(WIN32) && !defined(_WIN64) -static INLINE int spice_bit_find_msb(uint32_t val) +static inline int spice_bit_find_msb(uint32_t val) { uint32_t r; __asm { @@ -54,7 +54,7 @@ found: } #else -static INLINE int spice_bit_find_msb(unsigned int val) +static inline int spice_bit_find_msb(unsigned int val) { signed char index = 31; @@ -74,7 +74,7 @@ static INLINE int spice_bit_find_msb(unsigned int val) #endif -static INLINE int spice_bit_next_pow2(unsigned int val) +static inline int spice_bit_next_pow2(unsigned int val) { if ((val & (val - 1)) == 0) { return val; |