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

Peter Hutterer peter.hutterer at who-t.net
Mon Jul 30 16:38:19 PDT 2012


On Mon, Jul 30, 2012 at 03:56:18PM -0700, Alan Coopersmith wrote:
> 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>

applied, thanks.

Cheers,
   Peter
> ---
>  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