summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xi/xiproperty.c2
-rw-r--r--include/exevents.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c
index 14f1491b6..f72603028 100644
--- a/Xi/xiproperty.c
+++ b/Xi/xiproperty.c
@@ -386,7 +386,7 @@ change_property(ClientPtr client, DeviceIntPtr dev, Atom property, Atom type,
* If name is NULL, None is returned.
*/
Atom
-XIGetKnownProperty(char *name)
+XIGetKnownProperty(const char *name)
{
int i;
diff --git a/include/exevents.h b/include/exevents.h
index 720fb2e5a..12ea37885 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -126,7 +126,7 @@ extern _X_EXPORT void XIUnregisterPropertyHandler(
);
extern _X_EXPORT Atom XIGetKnownProperty(
- char* name
+ const char* name
);
extern _X_EXPORT DeviceIntPtr XIGetDevice(xEvent *ev);