diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:41:58 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:41:58 -0800 |
commit | 7d4e80e24773cd961d3c5d04031873017a1551a2 (patch) | |
tree | 145cd30b3e8d690722859019102383419f4d213a | |
parent | 1cd2ab96550b6b7d3abf92f76fe112798af727a4 (diff) |
Fix gcc -Wwrite-strings warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/XScrnSaver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XScrnSaver.c b/src/XScrnSaver.c index d09612d..2a89246 100644 --- a/src/XScrnSaver.c +++ b/src/XScrnSaver.c @@ -36,7 +36,7 @@ in this Software without prior written authorization from the X Consortium. static XExtensionInfo _screen_saver_info_data; static XExtensionInfo *screen_saver_info = &_screen_saver_info_data; -static /* const */ char *screen_saver_extension_name = ScreenSaverName; +static const char *screen_saver_extension_name = ScreenSaverName; #define ScreenSaverCheckExtension(dpy,i,val) \ XextCheckExtension (dpy, i, screen_saver_extension_name, val) |