diff options
author | 2002-02-23 01:12:26 +0000 | |
---|---|---|
committer | 2002-02-23 01:12:26 +0000 | |
commit | 70cec579e9b00507e470f290e49d8fd95ee81c63 (patch) | |
tree | 6bca9e4939852375f59e204c69d03b654667a996 | |
parent | Mention the two most FAQs near the top, I've explained these too many (diff) | |
download | wireguard-openbsd-70cec579e9b00507e470f290e49d8fd95ee81c63.tar.xz wireguard-openbsd-70cec579e9b00507e470f290e49d8fd95ee81c63.zip |
Get rid of __POOL_EXPOSE. The pool needs to be always exposed in the kernel
And there is no point in hiding it in userland.
-rw-r--r-- | sys/sys/pool.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/sys/pool.h b/sys/sys/pool.h index adec46398ce..482b5c7f3da 100644 --- a/sys/sys/pool.h +++ b/sys/sys/pool.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pool.h,v 1.8 2002/01/28 03:23:52 art Exp $ */ +/* $OpenBSD: pool.h,v 1.9 2002/02/23 01:12:26 art Exp $ */ /* $NetBSD: pool.h,v 1.27 2001/06/06 22:00:17 rafal Exp $ */ /*- @@ -51,23 +51,16 @@ #define KERN_POOL_NAME 2 #define KERN_POOL_POOL 3 -#ifdef _KERNEL -#define __POOL_EXPOSE -#endif - #if defined(_KERNEL_OPT) #include "opt_pool.h" #endif -#ifdef __POOL_EXPOSE #include <sys/lock.h> #include <sys/queue.h> #include <sys/time.h> -#endif #define PR_HASHTABSIZE 8 -#ifdef __POOL_EXPOSE struct pool_cache { TAILQ_ENTRY(pool_cache) pc_poollist; /* entry on pool's group list */ @@ -192,7 +185,6 @@ struct pool { void (*pr_drain_hook)(void *, int); void *pr_drain_hook_arg; }; -#endif /* __POOL_EXPOSE */ #ifdef _KERNEL /* |