diff options
author | 2013-10-25 04:42:48 +0000 | |
---|---|---|
committer | 2013-10-25 04:42:48 +0000 | |
commit | 14988649970a0f50139d27033770248115dc1c82 (patch) | |
tree | d72d5ae2063f881d69a35290cbec06fea289a11e /sys/kern/kern_time.c | |
parent | Add support for Microsoft XBox 360 controller as a uhid. It doesn't use (diff) | |
download | wireguard-openbsd-14988649970a0f50139d27033770248115dc1c82.tar.xz wireguard-openbsd-14988649970a0f50139d27033770248115dc1c82.zip |
Move the declarations for dogetrusage(), itimerround(), and dowait4()
to sys/*.h headers so that the compat/linux code can use them.
Change dowait4() to not copyout() the status value, but rather leave
that for its caller, as compat/linux has to translate it, with the
side benefit of simplifying the native code.
Originally written months ago as part of the time_t work; long
memory, prodding, and ok from pirofti@
Diffstat (limited to 'sys/kern/kern_time.c')
-rw-r--r-- | sys/kern/kern_time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 187cb43e4ae..076d24c4132 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_time.c,v 1.84 2013/10/08 03:50:08 guenther Exp $ */ +/* $OpenBSD: kern_time.c,v 1.85 2013/10/25 04:42:48 guenther Exp $ */ /* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */ /* @@ -48,8 +48,6 @@ struct timeval adjtimedelta; /* unapplied time correction */ -void itimerround(struct timeval *); - /* * Time of day and interval timer support. * |