[PATCH:libxkbcommon] Make XkbFileCreate argument types match between header & implementation

Ran Benita ran234 at gmail.com
Sat Nov 9 00:13:29 PST 2013


On Fri, Nov 08, 2013 at 05:08:35PM -0800, Alan Coopersmith wrote:
> Fixes build failure with Solaris Studio compilers:
> "src/xkbcomp/ast-build.c", line 492: identifier redeclared: XkbFileCreate
>   current : function(..., enum xkb_map_flags)
>   previous: function(..., unsigned int) : "src/xkbcomp/ast-build.h", line 98
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Applied, thanks.

Ran

> ---
>  src/xkbcomp/ast-build.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/xkbcomp/ast-build.h b/src/xkbcomp/ast-build.h
> index 0ecd124..4340c8c 100644
> --- a/src/xkbcomp/ast-build.h
> +++ b/src/xkbcomp/ast-build.h
> @@ -96,7 +96,7 @@ IncludeCreate(struct xkb_context *ctx, char *str, enum merge_mode merge);
>  
>  XkbFile *
>  XkbFileCreate(struct xkb_context *ctx, enum xkb_file_type type, char *name,
> -              ParseCommon *defs, unsigned flags);
> +              ParseCommon *defs, enum xkb_map_flags flags);
>  
>  void
>  FreeStmt(ParseCommon *stmt);
> -- 
> 1.7.9.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list