Date: Wed, 21 Jul 2004 19:32:11 +0800 From: Xin LI <delphij@frontfree.net> To: current@FreeBSD.org, phk@FreeBSD.org Subject: Any idea why timespec* is _KERNEL stuff only? Message-ID: <20040721113211.GA1899@frontfree.net>
next in thread | raw e-mail | index | archive | help
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information. --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/lQ7OfuToMruuMARAkhhAJ932UN3C75iezkfdZk5oiT9KNzPYgCaA6o+ 64V3dLyt/NlI2ngHT/Dh0fI= =HYqC -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040721113211.GA1899>