diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 16:19:27 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-14 20:44:44 -0700 |
commit | c0c2a0c7819c425f3df0992b6873a15c8ec27e01 (patch) | |
tree | ed8ad7d0012c6f3ed4d8f9cc2881609f38c3da67 /src/MITMisc.c | |
parent | a8f18777099ca5d61929bc37e4741457b6671e59 (diff) | |
download | xorg-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 'src/MITMisc.c')
-rw-r--r-- | src/MITMisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MITMisc.c b/src/MITMisc.c index bc452db..b8c21b6 100644 --- a/src/MITMisc.c +++ b/src/MITMisc.c @@ -37,7 +37,7 @@ in this Software without prior written authorization from The Open Group. static XExtensionInfo _mit_info_data; static XExtensionInfo *mit_info = &_mit_info_data; -static /* const */ char *mit_extension_name = MITMISCNAME; +static const char *mit_extension_name = MITMISCNAME; #define MITCheckExtension(dpy,i,val) \ XextCheckExtension (dpy, i, mit_extension_name, val) |