summaryrefslogtreecommitdiff
path: root/xkbprint.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:03:30 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:03:48 -0700
commit5256304812e89c1c02bed093d11f96d97216bdbe (patch)
tree439f5f71410af72cf80cc09e9ccaccf85fbba113 /xkbprint.c
parente1b1ecd2e9858dca67ed1da90799f1ea34fc9b71 (diff)
Fix many const char * warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbprint.c')
-rw-r--r--xkbprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkbprint.c b/xkbprint.c
index 2a48a98..a1b80db 100644
--- a/xkbprint.c
+++ b/xkbprint.c
@@ -61,7 +61,7 @@
static unsigned outputFormat = WANT_DEFAULT;
-static char * wantLocale = "C";
+static const char * wantLocale = "C";
static char * rootDir;
static char * inputFile;
static char * outputFile;
@@ -638,7 +638,7 @@ main(int argc, char *argv[])
/* XkbInitIncludePath(); */
if (inputFile != NULL) {
if (uStringEqual(inputFile, "-")) {
- static char *in = "stdin";
+ static char in[] = "stdin";
file = stdin;
inputFile = in;
@@ -750,7 +750,7 @@ main(int argc, char *argv[])
}
if (outputFile != NULL) {
if (uStringEqual(outputFile, "-")) {
- static char *of = "stdout";
+ static char of[] = "stdout";
out = stdout;
outputFile = of;