diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-04 23:21:34 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-23 12:15:07 -0800 |
commit | 05f589d464a961aea8d25632a390fb66a06cd186 (patch) | |
tree | 76ed00ac377c882f2ba7f1c8f8f19926375d6aca /include/extension.h | |
parent | 232f1ddf3d060f3ce9d2ebd35f33b1294cac380e (diff) |
Fix gcc -Wwrite-strings warnings in various extensions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'include/extension.h')
-rw-r--r-- | include/extension.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extension.h b/include/extension.h index 29a11c300..ee6260eb5 100644 --- a/include/extension.h +++ b/include/extension.h @@ -54,9 +54,9 @@ extern _X_EXPORT unsigned short StandardMinorOpcode(ClientPtr /*client*/); extern _X_EXPORT unsigned short MinorOpcodeOfRequest(ClientPtr /*client*/); -extern _X_EXPORT Bool EnableDisableExtension(char *name, Bool enable); +extern _X_EXPORT Bool EnableDisableExtension(const char *name, Bool enable); -extern _X_EXPORT void EnableDisableExtensionError(char *name, Bool enable); +extern _X_EXPORT void EnableDisableExtensionError(const char *name, Bool enable); extern _X_EXPORT void InitExtensions(int argc, char **argv); |