summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 16:19:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-14 20:44:44 -0700
commitc0c2a0c7819c425f3df0992b6873a15c8ec27e01 (patch)
treeed8ad7d0012c6f3ed4d8f9cc2881609f38c3da67 /include
parenta8f18777099ca5d61929bc37e4741457b6671e59 (diff)
downloadxorg-lib-libXext-c0c2a0c7819c425f3df0992b6873a15c8ec27e01.tar.gz
Add const attributes to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/extutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/extensions/extutil.h b/include/X11/extensions/extutil.h
index 7f05aff..29404d5 100644
--- a/include/X11/extensions/extutil.h
+++ b/include/X11/extensions/extutil.h
@@ -123,7 +123,7 @@ extern void XextDestroyExtension(
extern XExtDisplayInfo *XextAddDisplay(
XExtensionInfo* /* extinfo */,
Display* /* dpy */,
- char* /* ext_name */,
+ _Xconst char* /* ext_name */,
XExtensionHooks* /* hooks */,
int /* nevents */,
XPointer /* data */