diff options
author | bde <bde@FreeBSD.org> | 1999-09-13 14:22:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-09-13 14:22:27 +0000 |
commit | 10335a428dbff74506cf67f4b88971cb12b40490 (patch) | |
tree | e3f2997fe3f7d2a7865b47168a67e377098a6ec6 /sys/kern/kern_clock.c | |
parent | 5824d128190e8673ab2dc87f7a4867d67e70a471 (diff) | |
download | FreeBSD-src-10335a428dbff74506cf67f4b88971cb12b40490.zip FreeBSD-src-10335a428dbff74506cf67f4b88971cb12b40490.tar.gz |
Moved the definition of `boottime' and its sysctl to the correct file.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 4d7b6a9..34f4c36 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -101,6 +101,10 @@ long tk_rawcc; time_t time_second; +struct timeval boottime; +SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, + &boottime, timeval, "System boottime"); + /* * Which update policy to use. * 0 - every tick, bad hardware may fail with "calcru negative..." |