summaryrefslogtreecommitdiff
path: root/parseutils.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-06-08 15:11:19 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-06-15 19:26:49 +0100
commit41b0857c8c1179b87a26888588cbfff28f8bb0d6 (patch)
tree19a906b75cfddd57c333920759e7bba4d98a4ee9 /parseutils.h
parent7f7a57c75beb5e1dfb53351e490ef00a324b2727 (diff)
Don't malloc() and free() most scanned symbols
Use a constant buffer. Sigh. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'parseutils.h')
-rw-r--r--parseutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parseutils.h b/parseutils.h
index e16adff..0d06ce9 100644
--- a/parseutils.h
+++ b/parseutils.h
@@ -33,7 +33,7 @@
#include "xkbcomp.h"
-extern char *scanStr;
+extern char scanBuf[1024];
extern int scanInt;
extern int lineNum;