From f5dffd2b6e6a6e3875908961bfd8cd6652c49929 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 21 Aug 2012 11:21:19 +0100 Subject: kbproto untanglement: XkbKeyNameLength Define it ourselves as XKB_KEY_NAME_LENGTH and use that, instead of the one from XKB.h. Signed-off-by: Daniel Stone --- src/xkbcomp/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xkbcomp/action.c') diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c index 4e903bd..114d4ea 100644 --- a/src/xkbcomp/action.c +++ b/src/xkbcomp/action.c @@ -887,7 +887,7 @@ HandleRedirectKey(struct xkb_keymap *keymap, union xkb_action *action, unsigned t1; xkb_mod_mask_t t2; unsigned long tmp; - char key_name[XkbKeyNameLength]; + char key_name[XKB_KEY_NAME_LENGTH]; if (array_ndx != NULL) return ReportActionNotArray(keymap, action->type, field); -- cgit v1.2.3