xserver: Branch 'master' - 3 commits

Tiago Vignatti vignatti at c3sl.ufpr.br
Sat Jul 5 18:31:14 PDT 2008


Julien Cristau escreveu:
>> commit f72500c4a09cce5dbbd16639b1951a4bf943e4ac
>> Author: Tiago Vignatti <vignatti at c3sl.ufpr.br>
>> Date:   Fri Jul 4 03:45:18 2008 -0300
>>
>>     Nuke libc wrapper remaining stuffs.
>>
>> diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h
>> index 065102f..70b32b9 100644
>> --- a/hw/xfree86/common/xf86.h
>> +++ b/hw/xfree86/common/xf86.h
>> @@ -340,7 +340,6 @@ Bool xf86IsUnblank(int mode);
>>  
>>  _X_DEPRECATED void xf86AddModuleInfo(pointer info, pointer module);
>>  _X_DEPRECATED void xf86DeleteModuleInfo(int idx);
>> -void xf86getsecs(long *, long *);
>>  
>>  /* xf86Debug.c */
>>  #ifdef BUILDDEBUG
>> diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c
>> index eaa6c76..d58ce93 100644
>> --- a/hw/xfree86/common/xf86Helper.c
>> +++ b/hw/xfree86/common/xf86Helper.c
>> @@ -2937,17 +2937,3 @@ xf86GetMotionEvents(DeviceIntPtr pDev, xTimecoord *buff, unsigned long start,
>>  {
>>      return GetMotionHistory(pDev, buff, start, stop, pScreen, core);
>>  }
>> -
>> -_X_EXPORT void
>> -xf86getsecs(long * secs, long * usecs)
>> -{
>> -    struct timeval tv;
>> -
>> -    X_GETTIMEOFDAY(&tv);
>> -    if (secs)
>> -	*secs = tv.tv_sec;
>> -    if (usecs)
>> -	*usecs= tv.tv_usec;
>> -
>> -    return;
>> -}
> 
> See commit 13af2d1efcc83d1412a4c727afddd97577b00f32.  Why do you revert
> this now?

Hi, Julien.

I'm not sure if we really want that wrapper. I see that the only thing 
that need this was tdfx video driver which I changed to use the libc one 
(2de0dcfff822e2a8e5b993936bbad771bf9420b1).

Anyway, I don't have the device to test tdfx properly here. If you have, 
so please feel free to revert it (or maybe it's more sane to just build 
the wrapper private to tdfx driver)


Thank you,

-- 
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br



More information about the xorg mailing list