Remove _X_EXPORT from xkb_key_get_group/level
authorRan Benita <ran234@gmail.com>
Tue, 17 Jul 2012 08:56:00 +0000 (11:56 +0300)
committerRan Benita <ran234@gmail.com>
Wed, 18 Jul 2012 11:07:02 +0000 (14:07 +0300)
We should add them to xkbcommon.h if they need to.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/map.c

index 00d38d4..d35d8bc 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -242,7 +242,7 @@ xkb_map_led_get_index(struct xkb_keymap *keymap, const char *name)
 /**
  * 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)
 {
@@ -270,7 +270,7 @@ xkb_key_get_level(struct xkb_state *state, xkb_keycode_t kc,
  * 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);