summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscall-hide.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-13 23:27:58 +0000
committerphk <phk@FreeBSD.org>1996-01-13 23:27:58 +0000
commit9e14900495b009fccd80e7c2068ea6eedd558dce (patch)
treea45ad8603041d3d4de6f0ddac019214235dbdefd /sys/sys/syscall-hide.h
parentb4cbe069b996fab93a71c0d32c7d3c678864bf5a (diff)
downloadFreeBSD-src-9e14900495b009fccd80e7c2068ea6eedd558dce.zip
FreeBSD-src-9e14900495b009fccd80e7c2068ea6eedd558dce.tar.gz
Add an option NFS_NOSERVER which saves 100K in the install kernel (or
any other kernel that uses it). Use with option NFS.
Diffstat (limited to 'sys/sys/syscall-hide.h')
-rw-r--r--sys/sys/syscall-hide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 4d4dc92..3d42d88 100644
--- a/sys/sys/syscall-hide.h
+++ b/sys/sys/syscall-hide.h
@@ -153,7 +153,7 @@ HIDE_BSD(nosys)
HIDE_BSD(getdirentries)
HIDE_BSD(statfs)
HIDE_BSD(fstatfs)
-#ifdef NFS
+#if defined(NFS) && !defined (NFS_NOSERVER)
HIDE_BSD(getfh)
#else
HIDE_BSD(nosys)
OpenPOWER on IntegriCloud