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>
This commit is contained in:
parent
ea1ffd3e60
commit
81daba8ce9
|
@ -701,7 +701,7 @@ XIDeleteDeviceProperty (DeviceIntPtr device, Atom property, Bool fromClient)
|
||||||
int
|
int
|
||||||
XIChangeDeviceProperty (DeviceIntPtr dev, Atom property, Atom type,
|
XIChangeDeviceProperty (DeviceIntPtr dev, Atom property, Atom type,
|
||||||
int format, int mode, unsigned long len,
|
int format, int mode, unsigned long len,
|
||||||
pointer value, Bool sendevent)
|
const pointer value, Bool sendevent)
|
||||||
{
|
{
|
||||||
XIPropertyPtr prop;
|
XIPropertyPtr prop;
|
||||||
int size_in_bytes;
|
int size_in_bytes;
|
||||||
|
|
|
@ -69,7 +69,7 @@ extern _X_EXPORT int XIChangeDeviceProperty(
|
||||||
int /* format*/,
|
int /* format*/,
|
||||||
int /* mode*/,
|
int /* mode*/,
|
||||||
unsigned long /* len*/,
|
unsigned long /* len*/,
|
||||||
pointer /* value*/,
|
const pointer /* value*/,
|
||||||
Bool /* sendevent*/
|
Bool /* sendevent*/
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue