From 829cb75130d1edd88fa1d33e277f49167daedacf Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 23 Sep 2007 20:15:13 +0200 Subject: Fixed a bunch of const correctness bugs. --- xkbcomp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xkbcomp.c') diff --git a/xkbcomp.c b/xkbcomp.c index f54f4f0..c55994b 100644 --- a/xkbcomp.c +++ b/xkbcomp.c @@ -76,7 +76,7 @@ #define INPUT_XKB 1 #define INPUT_XKM 2 -static char *fileTypeExt[] = { +static const char *fileTypeExt[] = { "XXX", "xkm", "h", @@ -721,9 +721,8 @@ Status status; } if (inputFile!=NULL) { if (uStringEqual(inputFile,"-")) { - static char *in= "stdin"; file= stdin; - inputFile= in; + inputFile= "stdin"; } else { file= fopen(inputFile,"r"); -- cgit v1.2.3