[PATCH 3/4] Fix redundant declaration of SetAccelerationProfile()

Jon TURNEY jon.turney at dronecode.org.uk
Fri Jan 27 07:55:42 PST 2012


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 <jon.turney at dronecode.org.uk>
---
 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



More information about the xorg-devel mailing list