From: Ran Benita Date: Thu, 7 Feb 2013 22:02:49 +0000 (+0200) Subject: ast: constify argument X-Git-Tag: xkbcommon-0.3.0~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc56b5134f1fe370a54361ec1691775425b0ca24;p=platform%2Fupstream%2Flibxkbcommon.git ast: constify argument Signed-off-by: Ran Benita --- diff --git a/src/xkbcomp/ast-build.c b/src/xkbcomp/ast-build.c index a650b05..7259dc5 100644 --- a/src/xkbcomp/ast-build.c +++ b/src/xkbcomp/ast-build.c @@ -501,7 +501,7 @@ XkbFileCreate(struct xkb_context *ctx, enum xkb_file_type type, char *name, XkbFile * XkbFileFromComponents(struct xkb_context *ctx, - struct xkb_component_names *kkctgs) + const struct xkb_component_names *kkctgs) { IncludeStmt *inc; XkbFile *keycodes, *types, *compat, *symbols; diff --git a/src/xkbcomp/xkbcomp-priv.h b/src/xkbcomp/xkbcomp-priv.h index b2b40fd..8b6f0f8 100644 --- a/src/xkbcomp/xkbcomp-priv.h +++ b/src/xkbcomp/xkbcomp-priv.h @@ -50,7 +50,7 @@ FreeXkbFile(XkbFile *file); XkbFile * XkbFileFromComponents(struct xkb_context *ctx, - struct xkb_component_names *kkctgs); + const struct xkb_component_names *kkctgs); bool CompileKeycodes(XkbFile *file, struct xkb_keymap *keymap,