mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
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>
This commit is contained in:
parent
cccafabd56
commit
f8dd5efb67
8 changed files with 22 additions and 22 deletions
|
|
@ -200,7 +200,7 @@ Bool endOfFile,spacePending,slashPending,inComment;
|
|||
#define PART_MASK 0x000F
|
||||
#define COMPONENT_MASK 0x03F0
|
||||
|
||||
static char * cname[MAX_WORDS] = {
|
||||
static const char * cname[MAX_WORDS] = {
|
||||
"model", "layout", "variant", "option",
|
||||
"keycodes", "symbols", "types", "compat", "geometry"
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue