On 01/27/2012 04:55 PM, Jon TURNEY wrote:
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
...which is exactly what it is (or was).

Reviewed-by: Simon Thum <[email protected]>


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);

_______________________________________________
[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