We should add them to xkbcommon.h if they need to.
Signed-off-by: Ran Benita <ran234@gmail.com>
/**
* Returns the level to use for the given key and state, or -1 if invalid.
*/
-_X_EXPORT unsigned int
+unsigned int
xkb_key_get_level(struct xkb_state *state, xkb_keycode_t kc,
unsigned int group)
{
* Returns the group to use for the given key and state, taking
* wrapping/clamping/etc into account.
*/
-_X_EXPORT unsigned int
+unsigned int
xkb_key_get_group(struct xkb_state *state, xkb_keycode_t kc)
{
struct xkb_keymap *keymap = xkb_state_get_map(state);