Make XkbFileCreate argument types match between header & implementation
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 9 Nov 2013 01:08:35 +0000 (17:08 -0800)
committerRan Benita <ran234@gmail.com>
Sat, 9 Nov 2013 08:08:49 +0000 (10:08 +0200)
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@oracle.com>
src/xkbcomp/ast-build.h

index 0ecd124..4340c8c 100644 (file)
@@ -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);