jscript: Move 'inline' to the beginning of the declaration. (2nd try)

Michael Stefaniuc mstefani at redhat.de
Mon Oct 15 04:26:48 CDT 2012


---
Thanks to Jacek for spotting that it should be "static inline".


 dlls/jscript/jsstr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/jscript/jsstr.h b/dlls/jscript/jsstr.h
index 48a1d8d..ca3b5d9 100644
--- a/dlls/jscript/jsstr.h
+++ b/dlls/jscript/jsstr.h
@@ -28,7 +28,7 @@ struct _jsstr_t {
 
 #define JSSTR_FLAG_NULLBSTR 1
 
-static unsigned inline jsstr_length(jsstr_t *str)
+static inline unsigned jsstr_length(jsstr_t *str)
 {
     return str->length_flags >> JSSTR_LENGTH_SHIFT;
 }
-- 
1.7.4.1



More information about the wine-patches mailing list