diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-26 16:03:30 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-26 16:03:48 -0700 |
commit | 5256304812e89c1c02bed093d11f96d97216bdbe (patch) | |
tree | 439f5f71410af72cf80cc09e9ccaccf85fbba113 /xkbprint.c | |
parent | e1b1ecd2e9858dca67ed1da90799f1ea34fc9b71 (diff) |
Fix many const char * warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbprint.c')
-rw-r--r-- | xkbprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |