Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 22:15:51 +0800
From:      Xin LI <delphij@frontfree.net>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: RFC: Proposal to expose timespec* outside _KERNEL
Message-ID:  <20040721141551.GA2192@frontfree.net>
In-Reply-To: <20040721123220.GA995@frontfree.net>
References:  <20040721123220.GA995@frontfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--s2ZSL+KKDSLx8OML
Content-Type: multipart/mixed; boundary="X1bOJ3K7DJ5YkBrT"
Content-Disposition: inline


--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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


--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-time.h"
Content-Transfer-Encoding: quoted-printable

Index: time.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/fcvs/src/sys/sys/time.h,v
retrieving revision 1.65
diff -u -r1.65 time.h
--- time.h	7 Apr 2004 04:19:49 -0000	1.65
+++ time.h	21 Jul 2004 12:27:13 -0000
@@ -139,8 +139,6 @@
 }
 #endif /* __BSD_VISIBLE */
=20
-#ifdef _KERNEL
-
 /* Operations on timespecs */
 #define	timespecclear(tvp)	((tvp)->tv_sec =3D (tvp)->tv_nsec =3D 0)
 #define	timespecisset(tvp)	((tvp)->tv_sec || (tvp)->tv_nsec)
@@ -178,8 +176,6 @@
=20
 /* timevaladd and timevalsub are not inlined */
=20
-#endif /* _KERNEL */
-
 #ifndef _KERNEL			/* NetBSD/OpenBSD compatible interfaces */
=20
 #define	timerclear(tvp)		((tvp)->tv_sec =3D (tvp)->tv_usec =3D 0)

--X1bOJ3K7DJ5YkBrT--

--s2ZSL+KKDSLx8OML
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA/nqXOfuToMruuMARAtsbAJ0e+IqCBcdugEmGS44S0LTNd1kONQCgi3bi
IydjTjwtqu2uApljksK9d4k=
=2ziL
-----END PGP SIGNATURE-----

--s2ZSL+KKDSLx8OML--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040721141551.GA2192>