summaryrefslogtreecommitdiff
path: root/src/keysym.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-16 14:45:32 +0300
committerRan Benita <ran234@gmail.com>2012-09-16 15:20:18 +0300
commitb21107056e0540489669bb35fcb3abe1b5b46ecd (patch)
treef718e6ef359f1d2e75e3d0723e91b7f9bf5beff1 /src/keysym.c
parente670d084a6b4431de2ef3b5395c1473ba4b73725 (diff)
downloadxorg-lib-libxkbcommon-b21107056e0540489669bb35fcb3abe1b5b46ecd.tar.gz
Organize src/ and test/ headers
- Add context.h and move context-related functions from xkb-priv.h to it. - Move xkb_context definition back to context.c. - Add keysym.h and move keysym upper/lower/keypad from xkb-priv.h to it. - Rename xkb-priv.h to map.h since it only contains keymap-related definitions and declarations now. - Remove unnecessary includes and some and some other small cleanups. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keysym.c')
-rw-r--r--src/keysym.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/keysym.c b/src/keysym.c
index 1c95194..da1d219 100644
--- a/src/keysym.c
+++ b/src/keysym.c
@@ -47,12 +47,10 @@
* DEALINGS IN THE SOFTWARE.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-
-#include "xkb-priv.h"
+#include "xkbcommon/xkbcommon.h"
+#include "utils.h"
#include "ks_tables.h"
+#include "keysym.h"
XKB_EXPORT void
xkb_keysym_get_name(xkb_keysym_t ks, char *buffer, size_t size)