summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-04-20 14:56:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-04-21 14:17:55 +1000
commit1c162ebcaba78930f34639145a8ac01b87f8e6fd (patch)
tree0da08c71010290532a6c1b89db89b7923e9f3295 /include
parent70b76286dbef99daabbafccd23f3ba436fe07b09 (diff)
dix: change ProcessVelocityData2D to BOOL.
Don't confuse users with a return type of short, that's even less indicative that it returns 0/non-0 than "int". Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'include')
-rw-r--r--include/ptrveloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ptrveloc.h b/include/ptrveloc.h
index c14e12d61..6ca309c8c 100644
--- a/include/ptrveloc.h
+++ b/include/ptrveloc.h
@@ -106,7 +106,7 @@ InitVelocityData(DeviceVelocityPtr vel);
extern _X_EXPORT void
InitTrackers(DeviceVelocityPtr vel, int ntracker);
-extern _X_EXPORT short
+extern _X_EXPORT BOOL
ProcessVelocityData2D(DeviceVelocityPtr vel, int dx, int dy, int time);
extern _X_EXPORT float