aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_rman.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-06-30 16:54:10 +0000
committerWarner Losh <imp@FreeBSD.org>2004-06-30 16:54:10 +0000
commit0363a12688c09006ad2970ca63ef81acb69239a7 (patch)
treef8c488389a89e7643ebdbebc2795acba37ee315f /sys/kern/subr_rman.c
parent0d055a20bfe8df2033199741d08038725a245f75 (diff)
downloadsrc-0363a12688c09006ad2970ca63ef81acb69239a7.tar.gz
src-0363a12688c09006ad2970ca63ef81acb69239a7.zip
Hide struct resource and struct rman. You must define
__RMAN_RESOURCE_VISIBLE to see inside these now. Reviewed by: dfr, njl (not njr)
Notes
Notes: svn path=/head/; revision=131344
Diffstat (limited to 'sys/kern/subr_rman.c')
-rw-r--r--sys/kern/subr_rman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c
index 754695b5cb82..5eb4bc22d5dd 100644
--- a/sys/kern/subr_rman.c
+++ b/sys/kern/subr_rman.c
@@ -58,6 +58,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#define __RMAN_RESOURCE_VISIBLE
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>