Drop Bool type
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 2 Jul 2010 19:05:21 +0000 (15:05 -0400)
committerKristian 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

index 495b629..61d7d78 100644 (file)
@@ -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 {