diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-08-10 15:19:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-06 12:44:10 +1000 |
commit | 79ea9ef39971d008d199b18f34d1aef2bab6e33f (patch) | |
tree | ae919c51a3cd7aa46f5097eec68372f2fb6363de /include | |
parent | be978c7fc97e98ef1bc7b20c6c0740d8a81b609a (diff) |
input: constify valuators passed in by input drivers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/input.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/input.h b/include/input.h index 388ef2146..36ce4c901 100644 --- a/include/input.h +++ b/include/input.h @@ -447,7 +447,7 @@ extern _X_EXPORT int GetPointerEvents( int flags, int first_valuator, int num_valuators, - int *valuators); + const int *valuators); extern _X_EXPORT int GetKeyboardEvents( EventListPtr events, @@ -462,7 +462,7 @@ extern int GetKeyboardValuatorEvents( int key_code, int first_valuator, int num_valuator, - int *valuators); + const int *valuators); extern int GetProximityEvents( EventListPtr events, @@ -470,7 +470,7 @@ extern int GetProximityEvents( int type, int first_valuator, int num_valuators, - int *valuators); + const int *valuators); extern void PostSyntheticMotion( DeviceIntPtr pDev, |