xkbcomp: Declare global debugging vars
authorDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 03:34:41 +0000 (20:34 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Sat, 4 Apr 2009 03:34:41 +0000 (20:34 -0700)
These will need to be sanitized at some point, but for now let's just get
the code running.

src/xkbcomp/xkbcomp.c

index 68f50a4..67e42d3 100644 (file)
@@ -36,6 +36,10 @@ authorization from the authors.
 #define DFLT_XKB_CONFIG_ROOT "/usr/share/X11/xkb"
 #endif
 
+/* Global debugging flags */
+unsigned int debugFlags = 0;
+unsigned int warningLevel = 0;
+
 static int
 XkbFileFromComponents(const XkbComponentNamesPtr ktcsg, XkbFile **file)
 {