aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/xkbscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp/xkbscan.c')
-rw-r--r--xkbcomp/xkbscan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkbcomp/xkbscan.c b/xkbcomp/xkbscan.c
index 237f52084..9a265d35b 100644
--- a/xkbcomp/xkbscan.c
+++ b/xkbcomp/xkbscan.c
@@ -32,7 +32,7 @@
#include <X11/XKBlib.h>
#include "tokens.h"
-#define DEBUG_VAR scanDebug
+
#include "utils.h"
#include "parseutils.h"
@@ -55,7 +55,7 @@ static int readBufPos = 0;
static int readBufLen = 0;
#ifdef DEBUG
-extern int debugFlags;
+extern unsigned int debugFlags;
static char *
tokText(int tok)
@@ -614,7 +614,7 @@ yyGetIdent(int first)
static int
yyGetNumber(int ch)
{
- const int nMaxBuffSize = 1024;
+ #define nMaxBuffSize 1024
int isFloat = 0;
char buf[nMaxBuffSize];
int nInBuf = 0;