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:
Alan Coopersmith 2011-11-03 21:18:56 -07:00
commit f8dd5efb67
8 changed files with 22 additions and 22 deletions

View file

@ -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 */
);