diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-03-09 01:11:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-03-09 01:11:12 +0000 |
commit | 3b0eabb2e31ed410b170d57e1a242db9d0e47f23 (patch) | |
tree | 0a58cc5a306d74ea6e19fb4ad482ce20a575c917 /sys | |
parent | fb638376f535944b9d9c73aae54f447556a65b02 (diff) |
Fix POOL_DIAGNOSTIC
From Kamil Andrusz <wizz@mniam.net> pr/2455
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pool.h b/sys/sys/pool.h index bf1a1a46023..3772f68cdb2 100644 --- a/sys/sys/pool.h +++ b/sys/sys/pool.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pool.h,v 1.11 2002/02/25 04:53:16 dhartmei Exp $ */ +/* $OpenBSD: pool.h,v 1.12 2002/03/09 01:11:11 art Exp $ */ /* $NetBSD: pool.h,v 1.27 2001/06/06 22:00:17 rafal Exp $ */ /*- @@ -215,7 +215,7 @@ int pool_reclaim(struct pool *); */ void *_pool_get(struct pool *, int, const char *, long); void _pool_put(struct pool *, void *, const char *, long); -void _pool_reclaim(struct pool *, const char *, long); +int _pool_reclaim(struct pool *, const char *, long); #define pool_get(h, f) _pool_get((h), (f), __FILE__, __LINE__) #define pool_put(h, v) _pool_put((h), (v), __FILE__, __LINE__) #define pool_reclaim(h) _pool_reclaim((h), __FILE__, __LINE__) |