summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-06 10:10:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-01-06 14:04:45 +1000
commited8f3c4bd17bddf1369d050ea8e63b9451d887ce (patch)
treed345ad6685a5e26ce3bda9c39a08e174147882f7 /include
parent223ba8b46eacbc8e573bc5136a3d6677f3e39099 (diff)
Xi: change XIChangeDeviceProperty from const pointer to const void *
According to Daniel Kurtz, a typedef void *pointer is a atomic type. So a 'const pointer' is equivalent to 'void* const' instead of the intended 'const void*'. This technically changes the ABI, but we don't bump it for this. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.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 bd1697066..31acb30ea 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -92,7 +92,7 @@ extern _X_EXPORT int XIChangeDeviceProperty(
int /* format*/,
int /* mode*/,
unsigned long /* len*/,
- const pointer /* value*/,
+ const void* /* value*/,
Bool /* sendevent*/
);