summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-31 13:53:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-14 09:12:58 +1000
commit81daba8ce906bfbbe44cd71d0ff269ad34e2f6b5 (patch)
tree6e6a6c3ab91b2d308e40566ab55fede5e8a629cd /include
parentea1ffd3e60bdcedbec5a6f28929f8677bf45d450 (diff)
Xi: constify XIChangeDeviceProperty()
We don't modify "value", make it official. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/exevents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exevents.h b/include/exevents.h
index dc594304f..2b226986b 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -69,7 +69,7 @@ extern _X_EXPORT int XIChangeDeviceProperty(
int /* format*/,
int /* mode*/,
unsigned long /* len*/,
- pointer /* value*/,
+ const pointer /* value*/,
Bool /* sendevent*/
);