RFC: Proposal to expose timespec* outside _KERNEL
Xin LI
delphij at frontfree.net
Wed Jul 21 07:16:08 PDT 2004
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
Index: time.h
===================================================================
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 */
-#ifdef _KERNEL
-
/* Operations on timespecs */
#define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
#define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
@@ -178,8 +176,6 @@
/* timevaladd and timevalsub are not inlined */
-#endif /* _KERNEL */
-
#ifndef _KERNEL /* NetBSD/OpenBSD compatible interfaces */
#define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
-------------- 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-standards/attachments/20040721/b56ffd00/attachment.bin
More information about the freebsd-standards
mailing list