summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-04 23:00:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-04 23:00:59 +0000
commit2600f617b6d6930594ad5bc59e8a94b3b0cc203c (patch)
tree7194a9260161aff93a046397d7a723a057f029ac /sys/kern
parent18603a5b919c05b25b83ca76cffe070190848643 (diff)
match time definition with include file, volatile included.
Okay millert@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_ntptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 495a69c330a..896e6aa80fb 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ntptime.c,v 1.9 2001/02/13 20:59:15 art Exp $ */
+/* $OpenBSD: kern_ntptime.c,v 1.10 2001/07/04 23:00:58 espie Exp $ */
/* $NetBSD: kern_ntptime.c,v 1.2 1996/03/07 14:31:20 christos Exp $ */
/******************************************************************************
@@ -71,7 +71,7 @@
* The following variables are used by the hardclock() routine in the
* kern_clock.c module and are described in that module.
*/
-extern struct timeval time; /* kernel time variable */
+extern volatile struct timeval time; /* kernel time variable */
extern int time_state; /* clock state */
extern int time_status; /* clock status bits */
extern long time_offset; /* time adjustment (us) */