summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:35:42 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:35:42 -0800
commit2a6cc285b7f9c880d08de6e58b045a314fc1ff78 (patch)
tree8f9372785cebacedfd99658759cca67ba6b2114f
parent3e94f2d5fe0ee95f54faabbe253ac33327ef6d66 (diff)
Fix gcc -Wwrite-strings warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Xinerama.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xinerama.c b/src/Xinerama.c
index 93b1a9f..7d7e4d8 100644
--- a/src/Xinerama.c
+++ b/src/Xinerama.c
@@ -34,7 +34,7 @@ Equipment Corporation.
static XExtensionInfo _panoramiX_ext_info_data;
static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data;
-static /* const */ char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;
+static const char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;
#define PanoramiXCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, panoramiX_extension_name, val)