summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-06 17:21:09 +0200
committerRan Benita <ran234@gmail.com>2012-10-06 21:42:00 +0200
commit39232e6dae3f7fcaae49ed05cb0e48117a46616e (patch)
tree89cb15d90d2b5099c03458ff0b33565ec8967942 /src/text.h
parente6e3bda3934345bce203558df57ade467e62a337 (diff)
downloadxorg-lib-libxkbcommon-39232e6dae3f7fcaae49ed05cb0e48117a46616e.tar.gz
Remove now-unneeded mod type annotations
Most of the mod type annotations can now be changed to MOD_BOTH, because if you pass a mask which can only contain real mods in the first place to e.g. ModMaskText, then MOD_REAL and MOD_BOTH will give the same result. In the cases where MOD_BOTH is only ever the argument, we just remove it. What's left is where it really "matters". Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/text.h b/src/text.h
index a3c1f29..32115c8 100644
--- a/src/text.h
+++ b/src/text.h
@@ -48,12 +48,10 @@ extern const LookupEntry actionTypeNames[];
extern const LookupEntry symInterpretMatchMaskNames[];
const char *
-ModMaskText(const struct xkb_keymap *keymap, xkb_mod_mask_t mask,
- enum mod_type type);
+ModMaskText(const struct xkb_keymap *keymap, xkb_mod_mask_t mask);
const char *
-ModIndexText(const struct xkb_keymap *keymap, xkb_mod_index_t ndx,
- enum mod_type type);
+ModIndexText(const struct xkb_keymap *keymap, xkb_mod_index_t ndx);
xkb_mod_index_t
ModNameToIndex(const struct xkb_keymap *keymap, xkb_atom_t name,