summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authoruebayasi <uebayasi@openbsd.org>2015-07-20 23:47:20 +0000
committeruebayasi <uebayasi@openbsd.org>2015-07-20 23:47:20 +0000
commit2e74a76b778063bed32f7b9e7fe57f1575b72e34 (patch)
treebc186d07f83eaf1f4a6fdf8e3994bb1b1021b9de /sys/kern/kern_timeout.c
parentFix a segfault at startup when if_change() ist called before (diff)
downloadwireguard-openbsd-2e74a76b778063bed32f7b9e7fe57f1575b72e34.tar.xz
wireguard-openbsd-2e74a76b778063bed32f7b9e7fe57f1575b72e34.zip
Move `ticks' declaration to sys/kernel.h.
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r--sys/kern/kern_timeout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index e4a943fbc7f..fafd2105f0b 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_timeout.c,v 1.42 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: kern_timeout.c,v 1.43 2015/07/20 23:47:20 uebayasi Exp $ */
/*
* Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org>
* Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org>
@@ -140,7 +140,6 @@ struct mutex timeout_mutex = MUTEX_INITIALIZER(IPL_HIGH);
* "to->to_time - ticks". The result will always be positive for future
* timeouts and 0 or negative for due timeouts.
*/
-extern int ticks; /* XXX - move to sys/X.h */
void
timeout_startup(void)