diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:43:16 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:43:16 -0800 |
commit | 6150958c2ae61ce82aa15f3a80107dd01278b255 (patch) | |
tree | 3f4c8ab61237c180bbfc63c488be4d2879d46194 | |
parent | 558ec1d7194307d7ce73aeae2f4f61df9d44bba0 (diff) | |
download | xorg-lib-libXtst-6150958c2ae61ce82aa15f3a80107dd01278b255.tar.gz |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/XRecord.c | 2 | ||||
-rw-r--r-- | src/XTest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/XRecord.c b/src/XRecord.c index 69d6120..b65451c 100644 --- a/src/XRecord.c +++ b/src/XRecord.c @@ -59,7 +59,7 @@ from The Open Group. static XExtensionInfo _xrecord_info_data; static XExtensionInfo *xrecord_info = &_xrecord_info_data; -static /* const */ char *xrecord_extension_name = RECORD_NAME; +static const char *xrecord_extension_name = RECORD_NAME; #define XRecordCheckExtension(dpy,i,val) \ XextCheckExtension(dpy, i, xrecord_extension_name, val) 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) |