diff options
author | 2014-10-16 15:50:49 +0000 | |
---|---|---|
committer | 2014-10-16 15:50:49 +0000 | |
commit | 0cc708c33dd51ad763802f10ef4818a3a7032ad7 (patch) | |
tree | cd8e7c96a88139b45563cc0c258940412a24c27c | |
parent | we stopped building librt a while back. delete stubs. (diff) | |
download | wireguard-openbsd-0cc708c33dd51ad763802f10ef4818a3a7032ad7.tar.xz wireguard-openbsd-0cc708c33dd51ad763802f10ef4818a3a7032ad7.zip |
Remove references to unimplemented CLOCK_VIRTUAL. It is non-standard
and existing implementations vary as to whether it returns time for
the calling thread or the entire process. OK kettenis@
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 7 | ||||
-rw-r--r-- | sys/sys/_time.h | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index e53f79dac75..f90d3a8a675 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: clock_gettime.2,v 1.25 2014/10/16 15:50:49 millert Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: October 16 2014 $ .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -62,9 +62,6 @@ or one of five predefined values: .Bl -tag -width CLOCK_MONOTONIC .It Dv CLOCK_REALTIME time that increments as a wall clock should -.It Dv CLOCK_VIRTUAL -time that increments only when -the CPU is running in user mode on behalf of the calling process .It Dv CLOCK_PROCESS_CPUTIME_ID time that increments when the CPU is running in user or kernel mode on behalf of the calling process diff --git a/sys/sys/_time.h b/sys/sys/_time.h index 97892f978ef..3bd0b3131cc 100644 --- a/sys/sys/_time.h +++ b/sys/sys/_time.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _time.h,v 1.6 2013/10/06 01:27:49 guenther Exp $ */ +/* $OpenBSD: _time.h,v 1.7 2014/10/16 15:50:49 millert Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -33,7 +33,6 @@ #define _SYS__TIME_H_ #define CLOCK_REALTIME 0 -#define CLOCK_VIRTUAL 1 #define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_MONOTONIC 3 #define CLOCK_THREAD_CPUTIME_ID 4 |