summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-23 17:15:47 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-23 17:15:47 +0000
commit438cf17b4db144cec175486c889eea61c37ad079 (patch)
tree78b8b5c1ee6b38a504c2c2021ffbf1b39fc54913 /sys/kern
parent40877a2df7aa7115dad3711310d24ae4504be38f (diff)
ooops. remove unfinished work in progress.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_pool.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index 7213c5be858..114c0e49cd5 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.6 2001/06/23 16:13:01 art Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.7 2001/06/23 17:15:46 art Exp $ */
/* $NetBSD: subr_pool.c,v 1.59 2001/06/05 18:51:04 thorpej Exp $ */
/*-
@@ -1836,10 +1836,10 @@ pool_cache_reclaim(struct pool_cache *pc)
simple_unlock(&pc->pc_slock);
}
+#ifdef notyet
int
sysctl_dopool(int *name, u_int namelen, char *where, size_t *sizep)
{
-#ifdef notyet
struct pool *pp;
size_t buflen = where != NULL ? *sizep : 0;
int s;
@@ -1851,7 +1851,5 @@ sysctl_dopool(int *name, u_int namelen, char *where, size_t *sizep)
simple_lock(&pool_head_slock);
for (pp = pool_head; pp != NULL; pp = TAILQ_NEXT(pp, pr_poollist))
-#else
- return EOPNOTSUPP;
-#endif
}
+#endif \ No newline at end of file