ptrveloc.c:65:1: warning: redundant redeclaration of 'SetAccelerationProfile' 
[-Wredundant-decls]
../include/ptrveloc.h:120:1: note: previous declaration of 
'SetAccelerationProfile' was here

This looks like a left-over declaration which used to be static

Signed-off-by: Jon TURNEY <[email protected]>
---
 dix/ptrveloc.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 7b6f560..977eed6 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -61,8 +61,6 @@
  ****************************************************************************/
 
 /* fwds */
-int
-SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
 static double
 SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity,
                     double threshold, double acc);
-- 
1.7.5.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to