summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2011-12-30 18:46:20 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2011-12-31 16:50:52 +0100
commitc3912b23a2f64d97e81955622a1ca2d78bb6a829 (patch)
tree4faf7dd6785d0346e7c75bfcc94751362fa646f0 /external
parent553dfddc273fd843a42935bfecb54b21ff00dac1 (diff)
input: shuffle headers and includes
Just some renames/moving/prefixing to conform to the style of the other files. Signed-off-by: Ran Benita <ran234@gmail.com> Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'external')
-rw-r--r--external/imKStoUCS.c2
-rw-r--r--external/imKStoUCS.h7
2 files changed, 7 insertions, 2 deletions
diff --git a/external/imKStoUCS.c b/external/imKStoUCS.c
index 6ef6c95..72bf6c1 100644
--- a/external/imKStoUCS.c
+++ b/external/imKStoUCS.c
@@ -62,7 +62,7 @@
* - Changed the return type to uint32_t to match libxkbcommon.
*/
-#include <X11/extensions/XKBcommon.h>
+#include "imKStoUCS.h"
static unsigned short const keysym_to_unicode_1a1_1ff[] = {
0x0104, 0x02d8, 0x0141, 0x0000, 0x013d, 0x015a, 0x0000, /* 0x01a0-0x01a7 */
diff --git a/external/imKStoUCS.h b/external/imKStoUCS.h
index d34006a..49835be 100644
--- a/external/imKStoUCS.h
+++ b/external/imKStoUCS.h
@@ -62,6 +62,11 @@
* - Changed the return type to uint32_t to match libxkbcommon.
*/
-#include <stdint.h>
+#ifndef KMSCON_IMKSTOUCS_H
+#define KMSCON_IMKSTOUCS_H
+
+#include <inttypes.h>
uint32_t KeysymToUcs4(uint32_t keysym);
+
+#endif