From 073a21076c44aecb5439ce3cf884b3c04079d14c Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 8 Apr 2012 15:40:12 +0300 Subject: Constify the syms_out argument to xkb_key_get_syms() The caller should not mess around with these as they come directly from our internal structs. Signed-off-by: Ran Benita --- include/xkbcommon/xkbcommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index 1391437..ebdefb0 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -447,7 +447,7 @@ xkb_state_update_key(struct xkb_state *state, xkb_keycode_t key, */ _X_EXPORT unsigned int xkb_key_get_syms(struct xkb_state *state, xkb_keycode_t key, - xkb_keysym_t **syms_out); + const xkb_keysym_t **syms_out); /** * Modifier and group types for state objects. This enum is bitmaskable, -- cgit v1.2.1