diff options
author | des <des@FreeBSD.org> | 2001-11-03 03:07:09 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-11-03 03:07:09 +0000 |
commit | 7885415b9c992e06f3300a21f8963343d1f42bfe (patch) | |
tree | 40534189945b2b458fc90201540d0949ab167ccc /sys/fs/pseudofs/pseudofs.c | |
parent | 29155a87f53871d0fe39dd5375efe674b1f78c2c (diff) | |
download | FreeBSD-src-7885415b9c992e06f3300a21f8963343d1f42bfe.zip FreeBSD-src-7885415b9c992e06f3300a21f8963343d1f42bfe.tar.gz |
Reduce the number of #include dependencies by declaring some of the structs
used in pseudofs.h as opaque structs.
Diffstat (limited to 'sys/fs/pseudofs/pseudofs.c')
-rw-r--r-- | sys/fs/pseudofs/pseudofs.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |