summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-07-03 21:19:05 +0000
committermiod <miod@openbsd.org>2002-07-03 21:19:05 +0000
commit4c366c49483bea72f8be132af77834ba3cb0b576 (patch)
tree9162c1cbc4b642675c3bee61aa743ea9e8263111 /sys/kern/kern_clock.c
parentAnother missing call to AMI_UNLOCK_API(). Fixes SPL NOT LOWERED errors seen (diff)
downloadwireguard-openbsd-4c366c49483bea72f8be132af77834ba3cb0b576.tar.xz
wireguard-openbsd-4c366c49483bea72f8be132af77834ba3cb0b576.zip
Change all variables definitions (int foo) in sys/sys/*.h to variable
declarations (extern int foo), and compensate in the appropriate locations.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index dd83909ea44..b4db87d8e4b 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_clock.c,v 1.37 2002/06/07 21:20:02 art Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.38 2002/07/03 21:19:08 miod Exp $ */
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@ -287,6 +287,8 @@ int fixtick; /* used by NTP for same */
int shifthz;
#endif
+long cp_time[CPUSTATES];
+
volatile struct timeval time;
volatile struct timeval mono_time;