diff options
author | 2015-07-20 23:47:20 +0000 | |
---|---|---|
committer | 2015-07-20 23:47:20 +0000 | |
commit | 2e74a76b778063bed32f7b9e7fe57f1575b72e34 (patch) | |
tree | bc186d07f83eaf1f4a6fdf8e3994bb1b1021b9de /sys/kern/subr_pool.c | |
parent | Fix a segfault at startup when if_change() ist called before (diff) | |
download | wireguard-openbsd-2e74a76b778063bed32f7b9e7fe57f1575b72e34.tar.xz wireguard-openbsd-2e74a76b778063bed32f7b9e7fe57f1575b72e34.zip |
Move `ticks' declaration to sys/kernel.h.
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r-- | sys/kern/subr_pool.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |