summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-10-14 23:17:45 +0000
committeryar <yar@FreeBSD.org>2005-10-14 23:17:45 +0000
commit924e74a7598e3d599ae2d95a728fc373ef8582ed (patch)
tree97c97f8faaa373219f25974eabbd67597dd0770f /sys/fs/nwfs
parent0dd10470eca4b50758f1f3fa559697f67bd0a188 (diff)
downloadFreeBSD-src-924e74a7598e3d599ae2d95a728fc373ef8582ed.zip
FreeBSD-src-924e74a7598e3d599ae2d95a728fc373ef8582ed.tar.gz
In preparation for making the modules actually use opt_*.h files
provided in the kernel build directory, fix modules that were failing to build this way due to not quite correct kernel option usage. In particular: ng_mppc.c uses two complementary options, both of which are listed in sys/conf/files. Ideally, there should be a separate option for including ng_mppc.c in kernel build, but now only NETGRAPH_MPPC_ENCRYPTION is usable anyway, the other one requires proprietary files. nwfs and smbfs were trying to ensure they were built with proper network components, but the check was rather questionable. Discussed with: ru
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 2f0ba1f..4a10c2e 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -31,10 +31,6 @@
*
* $FreeBSD$
*/
-#include "opt_ncp.h"
-#ifndef NCP
-#error "NWFS requires NCP protocol"
-#endif
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud