diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-03 21:18:56 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-23 12:15:06 -0800 |
commit | f8dd5efb673439e7e9f7d82e6f9cfb97afacc85a (patch) | |
tree | 23f05fbd009552ad45b4398dc71d5e89bc4e808d /xkb/xkbfmisc.c | |
parent | cccafabd56d0f8e5784ea0ad9fdc03224f952bfe (diff) |
Mark XKB char * as const to clean up gcc -Wwrite-strings warnings
Cleans up around 120 warnings from this set
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xkb/xkbfmisc.c')
-rw-r--r-- | xkb/xkbfmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbfmisc.c b/xkb/xkbfmisc.c index d8202b496..782b823bb 100644 --- a/xkb/xkbfmisc.c +++ b/xkb/xkbfmisc.c @@ -146,7 +146,7 @@ unsigned set,rtrn; /***===================================================================***/ static Bool -XkbWriteSectionFromName(FILE *file,char *sectionName,char *name) +XkbWriteSectionFromName(FILE *file,const char *sectionName,const char *name) { fprintf(file," xkb_%-20s { include \"%s\" };\n",sectionName,name); return TRUE; |