Date: Wed, 21 Jul 2004 13:36:45 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Xin LI <delphij@frontfree.net> Cc: current@FreeBSD.org Subject: Re: Any idea why timespec* is _KERNEL stuff only? Message-ID: <82157.1090409805@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 21 Jul 2004 19:32:11 %2B0800." <20040721113211.GA1899@frontfree.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040721113211.GA1899@frontfree.net>, Xin LI writes: >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 :-) I agree. I belive I made the _KERNEL only due to pressure from the standards people or possibly bde@, can't remember to be honest. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82157.1090409805>