summaryrefslogtreecommitdiff
path: root/include/extnsionst.h
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 /include/extnsionst.h
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 'include/extnsionst.h')
-rw-r--r--include/extnsionst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extnsionst.h b/include/extnsionst.h
index bb66dfb6e..aeefa9918 100644
--- a/include/extnsionst.h
+++ b/include/extnsionst.h
@@ -92,7 +92,7 @@ extern _X_EXPORT void NotImplemented ( /* FIXME: this may move to another file..
#define GetGCValue(pGC, GCElement) (pGC->GCElement)
extern _X_EXPORT ExtensionEntry *AddExtension(
- char* /*name*/,
+ const char* /*name*/,
int /*NumEvents*/,
int /*NumErrors*/,
int (* /*MainProc*/)(ClientPtr /*client*/),
@@ -102,7 +102,7 @@ extern _X_EXPORT ExtensionEntry *AddExtension(
);
extern _X_EXPORT Bool AddExtensionAlias(
- char* /*alias*/,
+ const char* /*alias*/,
ExtensionEntry * /*extension*/);
extern _X_EXPORT ExtensionEntry *CheckExtension(const char *extname);