Commit 70b64213ca620c0f4c50cd05b9a0667357b7d297

Daniel Stone 2009-04-25T14:52:51

Make keysym <-> string conversion public API Signed-off-by: Daniel Stone <daniel@fooishbar.org>

diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h
index 59a43ea..123ea8c 100644
--- a/include/X11/extensions/XKBcommon.h
+++ b/include/X11/extensions/XKBcommon.h
@@ -141,6 +141,12 @@ XkbcCompileKeymapFromFile(FILE *inputFile, const char *mapName);
 extern XkbComponentListPtr
 XkbcListComponents(XkbComponentNamesPtr ptrns, int *maxMatch);
 
+extern char *
+XkbcKeysymToString(KeySym ks);
+
+extern KeySym
+XkbcStringToKeysym(const char *s);
+
 _XFUNCPROTOEND
 
 #endif /* _XKBCOMMON_H_ */
diff --git a/src/xkbmisc.h b/src/xkbmisc.h
index 61e94e6..324a648 100644
--- a/src/xkbmisc.h
+++ b/src/xkbmisc.h
@@ -33,12 +33,6 @@ authorization from the authors.
 #include <X11/extensions/XKBrulescommon.h>
 #include "X11/extensions/XKBcommon.h"
 
-extern char *
-XkbcKeysymToString(KeySym ks);
-
-extern KeySym
-XkbcStringToKeysym(const char *s);
-
 /***====================================================================***/
 
 extern Bool