Index: source/libvpx/vpx_ports/x86.h |
=================================================================== |
--- source/libvpx/vpx_ports/x86.h (revision 290053) |
+++ source/libvpx/vpx_ports/x86.h (working copy) |
@@ -116,7 +116,7 @@ |
#define BIT(n) (1<<n) |
#endif |
-static int |
+static INLINE int |
x86_simd_caps(void) { |
unsigned int flags = 0; |
unsigned int mask = ~0; |
@@ -172,7 +172,7 @@ |
unsigned __int64 __rdtsc(void); |
#pragma intrinsic(__rdtsc) |
#endif |
-static unsigned int |
+static INLINE unsigned int |
x86_readtsc(void) { |
#if defined(__GNUC__) && __GNUC__ |
unsigned int tsc; |
@@ -249,9 +249,9 @@ |
} |
#endif |
-static unsigned short |
+static INLINE unsigned int |
x87_set_double_precision(void) { |
- unsigned short mode = x87_get_control_word(); |
+ unsigned int mode = x87_get_control_word(); |
x87_set_control_word((mode&~0x300) | 0x200); |
return mode; |
} |