summaryrefslogtreecommitdiff
path: root/src/XTest.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:43:16 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:43:16 -0800
commit6150958c2ae61ce82aa15f3a80107dd01278b255 (patch)
tree3f4c8ab61237c180bbfc63c488be4d2879d46194 /src/XTest.c
parent558ec1d7194307d7ce73aeae2f4f61df9d44bba0 (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/XTest.c')
-rw-r--r--src/XTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XTest.c b/src/XTest.c
index 759e0e8..3e4bb17 100644
--- a/src/XTest.c
+++ b/src/XTest.c
@@ -40,7 +40,7 @@ from The Open Group.
static XExtensionInfo _xtest_info_data;
static XExtensionInfo *xtest_info = &_xtest_info_data;
-static /* const */ char *xtest_extension_name = XTestExtensionName;
+static const char *xtest_extension_name = XTestExtensionName;
#define XTestCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xtest_extension_name, val)