jscript: Move 'inline' to the beginning of the declaration.

Francois Gouget fgouget at free.fr
Mon Oct 15 10:20:20 CDT 2012


On Mon, 15 Oct 2012, Michael Stefaniuc wrote:
[...]
> --- 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)
> +inline static unsigned jsstr_length(jsstr_t *str)

'static inline' is the more common format in Wine (4166 occurences 
versus 0 for 'inline static'). But yes, moving it before the return type 
makes sense.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
      Any sufficiently advanced bug is indistinguishable from a feature.
                            -- from some indian guy



More information about the wine-devel mailing list