From 2a6cc285b7f9c880d08de6e58b045a314fc1ff78 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 10 Nov 2011 21:35:42 -0800 Subject: Fix gcc -Wwrite-strings warning Signed-off-by: Alan Coopersmith --- src/Xinerama.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Xinerama.c') 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) -- cgit v1.2.3