From 7885415b9c992e06f3300a21f8963343d1f42bfe Mon Sep 17 00:00:00 2001 From: des Date: Sat, 3 Nov 2001 03:07:09 +0000 Subject: Reduce the number of #include dependencies by declaring some of the structs used in pseudofs.h as opaque structs. --- sys/fs/pseudofs/pseudofs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/fs/pseudofs/pseudofs.c') diff --git a/sys/fs/pseudofs/pseudofs.c b/sys/fs/pseudofs/pseudofs.c index b7299b3..f7ecaab 100644 --- a/sys/fs/pseudofs/pseudofs.c +++ b/sys/fs/pseudofs/pseudofs.c @@ -49,6 +49,10 @@ static MALLOC_DEFINE(M_PFSNODES, "pfs_nodes", "pseudofs nodes"); SYSCTL_NODE(_vfs, OID_AUTO, pfs, CTLFLAG_RW, 0, "pseudofs"); +#if PFS_FSNAMELEN != MFSNAMELEN +#error "PFS_FSNAMELEN is not equal to MFSNAMELEN" +#endif + /* * Add a node to a directory */ -- cgit v1.1