summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-04-08 15:40:12 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-04-09 13:58:44 +0100
commit073a21076c44aecb5439ce3cf884b3c04079d14c (patch)
tree89ed77a1069e1b1868352489c10a6c8f7b7bc322 /include
parent467d7bb64eb8e77304fc6c91f612ec7b8036e475 (diff)
downloadxorg-lib-libxkbcommon-073a21076c44aecb5439ce3cf884b3c04079d14c.tar.gz
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 <ran234@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/xkbcommon/xkbcommon.h2
1 files changed, 1 insertions, 1 deletions
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,