Commit ec86ce1f1a9a0ad0c0891e320519431093c3cef7

Dan Nicholson 2009-04-03T20:34:41

xkbcomp: Declare global debugging vars These will need to be sanitized at some point, but for now let's just get the code running.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/xkbcomp/xkbcomp.c b/src/xkbcomp/xkbcomp.c
index 68f50a4..67e42d3 100644
--- a/src/xkbcomp/xkbcomp.c
+++ b/src/xkbcomp/xkbcomp.c
@@ -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)
 {