projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename public entry points to lowercase and underscore
[platform/upstream/libxkbcommon.git]
/
test
/
xkey.c
diff --git
a/test/xkey.c
b/test/xkey.c
index
4f775f2
..
9d7a08f
100644
(file)
--- a/
test/xkey.c
+++ b/
test/xkey.c
@@
-1,20
+1,21
@@
-#include <X11/XkbCommon.h>
+#include "xkbmisc.h"
+#include "X11/extensions/XKBcommon.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
static void print_keysym(const char *s)
{
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
static void print_keysym(const char *s)
{
- KeySym ks =
XkbcStringToK
eysym(s);
+ KeySym ks =
xkb_string_to_k
eysym(s);
if (ks == NoSymbol)
printf("NoSymbol\n");
else
if (ks == NoSymbol)
printf("NoSymbol\n");
else
- printf("0x%l
x
\n", ks);
+ printf("0x%l
X
\n", ks);
}
static void print_string(KeySym ks)
{
}
static void print_string(KeySym ks)
{
- char *s =
XkbcKeysymToS
tring(ks);
+ char *s =
xkb_keysym_to_s
tring(ks);
printf("%s\n", s ? s : "NULL");
}
printf("%s\n", s ? s : "NULL");
}