[PATCH:libXtst] Fix some const issues.
Thomas Klausner
wiz at NetBSD.org
Sun Jun 2 12:12:22 PDT 2013
---
src/XRecord.c | 2 +-
src/XTest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/XRecord.c b/src/XRecord.c
index 5bbd5ac..e146778 100644
--- a/src/XRecord.c
+++ b/src/XRecord.c
@@ -74,7 +74,7 @@ static inline void _XEatDataWords(Display *dpy, unsigned long n)
static XExtensionInfo _xrecord_info_data;
static XExtensionInfo *xrecord_info = &_xrecord_info_data;
-static const char *xrecord_extension_name = RECORD_NAME;
+static 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 3e4bb17..04370e4 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 char *xtest_extension_name = XTestExtensionName;
#define XTestCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xtest_extension_name, val)
--
1.8.2.3
More information about the xorg-devel
mailing list