diff options
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index ad815dc1a57..2257eea91b7 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $OpenBSD: kern_tc.c,v 1.8 2007/03/31 14:46:48 kettenis Exp $ + * $OpenBSD: kern_tc.c,v 1.9 2007/05/09 17:42:19 deraadt Exp $ * $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $ */ @@ -179,19 +179,6 @@ microtime(struct timeval *tvp) } void -getbinuptime(struct bintime *bt) -{ - struct timehands *th; - u_int gen; - - do { - th = timehands; - gen = th->th_generation; - *bt = th->th_offset; - } while (gen == 0 || gen != th->th_generation); -} - -void getnanouptime(struct timespec *tsp) { struct timehands *th; @@ -218,20 +205,6 @@ getmicrouptime(struct timeval *tvp) } void -getbintime(struct bintime *bt) -{ - struct timehands *th; - u_int gen; - - do { - th = timehands; - gen = th->th_generation; - *bt = th->th_offset; - } while (gen == 0 || gen != th->th_generation); - bintime_add(bt, &boottimebin); -} - -void getnanotime(struct timespec *tsp) { struct timehands *th; |