Any idea why timespec* is _KERNEL stuff only?

Xin LI delphij at frontfree.net
Wed Jul 21 04:32:29 PDT 2004


Hi, Poul-Henning,

It seems that rev. 1.23 of sys/sys/time.h has constrained timespec* macros
to be _KERNEL (KERNEL in the old days) only. Is this intended? (NetBSD and
OpenBSD don't expect _KERNEL for these macros, e.g. timespeccmp, and I
personally think that these macros will be better for more generic use,
as timespec structure is not _KERNEL protected :-)

The _KERNEL related ifdef's could be found in -HEAD's sys/sys/time.h on
line 142 and 181.

Thanks in advance!

Cheers
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040721/060aea97/attachment.bin


More information about the freebsd-current mailing list