diff options
author | Ran Benita <ran234@gmail.com> | 2013-02-08 00:02:49 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2013-03-18 22:20:02 +0000 |
commit | fc56b5134f1fe370a54361ec1691775425b0ca24 (patch) | |
tree | 7ebb04fdd461df2c4106a233c15f753fe5963fbe /src | |
parent | 164cec663600703987010a20cad895ad5b9efd09 (diff) |
ast: constify argument
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xkbcomp/ast-build.c | 2 | ||||
-rw-r--r-- | src/xkbcomp/xkbcomp-priv.h | 2 |
2 files changed, 2 insertions, 2 deletions
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, |