summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-04 23:21:34 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:07 -0800
commit05f589d464a961aea8d25632a390fb66a06cd186 (patch)
tree76ed00ac377c882f2ba7f1c8f8f19926375d6aca /doc
parent232f1ddf3d060f3ce9d2ebd35f33b1294cac380e (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 'doc')
-rw-r--r--doc/Xserver-spec.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml
index 5c481c917..2b11828fc 100644
--- a/doc/Xserver-spec.xml
+++ b/doc/Xserver-spec.xml
@@ -565,7 +565,7 @@ should be called by InitExtensions.
ExtensionEntry *AddExtension(name, NumEvents,NumErrors,
MainProc, SwappedMainProc, CloseDownProc, MinorOpcodeProc)
- char *name; /*Null terminate string; case matters*/
+ const char *name; /*Null terminate string; case matters*/
int NumEvents;
int NumErrors;
int (* MainProc)(ClientPtr);/*Called if client matches server order*/