diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_timeout.c | 3 | ||||
-rw-r--r-- | sys/kern/subr_pool.c | 4 |
2 files changed, 2 insertions, 5 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) diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 3c3f85e0477..b154c3238c7 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.185 2015/04/21 13:15:54 dlg Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.186 2015/07/20 23:47:20 uebayasi Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -639,7 +639,6 @@ pool_put(struct pool *pp, void *v) { struct pool_item *pi = v; struct pool_item_header *ph, *freeph = NULL; - extern int ticks; #ifdef DIAGNOSTIC if (v == NULL) @@ -1368,7 +1367,6 @@ pool_gc_sched(void *null) void pool_gc_pages(void *null) { - extern int ticks; struct pool *pp; struct pool_item_header *ph, *freeph; int s; |