projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3805a2
)
Drop Bool type
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 2 Jul 2010 19:05:21 +0000
(15:05 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 2 Jul 2010 19:05:21 +0000
(15:05 -0400)
It's a nightmare trying to avoid double definitions.
include/X11/extensions/XKBcommon.h
patch
|
blob
|
history
diff --git
a/include/X11/extensions/XKBcommon.h
b/include/X11/extensions/XKBcommon.h
index 495b62972b1986a3b2693e010e10b3ae051cc38e..61d7d7839a00466ef110d2aa4e5078aa769857d7 100644
(file)
--- a/
include/X11/extensions/XKBcommon.h
+++ b/
include/X11/extensions/XKBcommon.h
@@
-64,10
+64,6
@@
THE USE OR PERFORMANCE OF THIS SOFTWARE.
typedef unsigned char KeyCode;
#endif
-#ifndef _XTYPEDEF_BOOL
-typedef int Bool;
-#endif
-
struct xkb_rule_names {
char * rules;
char * model;
@@
-215,7
+211,7
@@
struct xkb_mods {
};
struct xkb_kt_map_entry {
-
Bool
active;
+
int
active;
uint16_t level;
struct xkb_mods mods;
};
@@
-679,7
+675,7
@@
struct xkb_map_changes {
struct xkb_controls_changes {
unsigned int changed_ctrls;
unsigned int enabled_ctrls_changes;
-
Bool
num_groups_changed;
+
int
num_groups_changed;
};
struct xkb_indicator_changes {