svn commit: r247300 - in head: sys/sys usr.bin/truss

John Baldwin jhb at freebsd.org
Tue Feb 26 16:49:08 UTC 2013


On Monday, February 25, 2013 9:13:02 pm Xin LI wrote:
> Author: delphij
> Date: Tue Feb 26 02:13:02 2013
> New Revision: 247300
> URL: http://svnweb.freebsd.org/changeset/base/247300
> 
> Log:
>   Expose timespec and timeval macros when __BSD_VISIBLE is defined.  This
>   allows userland application to use the following macros:
>   
>   	timespecclear, timespecisset, timespeccmp, timespecadd,
>   	timespecsub;
>   
>   	timevalclear, timevalisset, timevalcmp.

Why not fix truss to use the stock functions instead of keeping private 
"unusual" versions?

-- 
John Baldwin


More information about the svn-src-head mailing list