[PATCH:xf86-input-mouse] Fix compiler warning in sun_mouse.c (Solaris-only)

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jul 30 15:56:18 PDT 2012


sun_mouse.c: In function 'vuidRemoveMouse':
sun_mouse.c:150:42: warning: declaration of 'time' shadows a global declaration

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 src/sun_mouse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sun_mouse.c b/src/sun_mouse.c
index db1a4ae..a291c19 100644
--- a/src/sun_mouse.c
+++ b/src/sun_mouse.c
@@ -147,7 +147,7 @@ VuidMsePtr getVuidMsePriv(InputInfoPtr pInfo)
    list or changing pInfo->fd while xf86Wakeup is looping through the list
    causes server crashes */
 static CARD32
-vuidRemoveMouse(OsTimerPtr timer, CARD32 time, pointer arg)
+vuidRemoveMouse(OsTimerPtr timer, CARD32 now, pointer arg)
 {
     InputInfoPtr pInfo = (InputInfoPtr) arg;
 
-- 
1.7.9.2



More information about the xorg-devel mailing list