diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_pool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 9838e55130c..0f155c0b12d 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.82 2009/06/04 17:42:23 deraadt Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.83 2009/06/04 18:48:54 deraadt Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -684,7 +684,7 @@ pool_do_put(struct pool *pp, void *v) { struct pool_item *pi = v; struct pool_item_header *ph; -#if defined(POOL_DEBUG) && defined(DIAGNOSTIC) +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif @@ -826,7 +826,7 @@ pool_prime_page(struct pool *pp, caddr_t storage, struct pool_item_header *ph) unsigned int align = pp->pr_align; unsigned int ioff = pp->pr_itemoffset; int n; -#if defined(POOL_DEBUG) && defined(DIAGNOSTIC) +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif @@ -1211,7 +1211,7 @@ pool_chk_page(struct pool *pp, const char *label, struct pool_item_header *ph) struct pool_item *pi; caddr_t page; int n; -#ifdef POOL_DEBUG +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif |