ast: constify argument

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2013-02-08 00:02:49 +02:00 committed by Daniel Stone
parent 164cec6636
commit fc56b5134f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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,