mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +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
|
|
@ -136,7 +136,7 @@ extern _X_EXPORT char * XkbConfigText(
|
|||
unsigned /* format */
|
||||
);
|
||||
|
||||
extern _X_EXPORT char * XkbSIMatchText(
|
||||
extern _X_EXPORT const char * XkbSIMatchText(
|
||||
unsigned /* type */,
|
||||
unsigned /* format */
|
||||
);
|
||||
|
|
@ -161,7 +161,7 @@ extern _X_EXPORT char * XkbDoodadTypeText(
|
|||
unsigned /* format */
|
||||
);
|
||||
|
||||
extern _X_EXPORT char * XkbActionTypeText(
|
||||
extern _X_EXPORT const char * XkbActionTypeText(
|
||||
unsigned /* type */,
|
||||
unsigned /* format */
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue