aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-29 12:50:41 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-29 12:50:41 +0000
commitc263a0048dbb766f3f48d99a2ff03ff8cd4c68ac (patch)
treee17d7fbb1ff998aee9049d76443def46f792855e /usr.sbin/pstat
parentb445591810e0384d4450ac360b41de60a6827def (diff)
downloadsrc-c263a0048dbb766f3f48d99a2ff03ff8cd4c68ac.tar.gz
src-c263a0048dbb766f3f48d99a2ff03ff8cd4c68ac.zip
Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
in the Lite2 merge to not export some nfs constants. It started causing warnings when I added a kernel-only #define for DIRBLKSIZ. Removed `#define NFS'. This was an old, bad interface for telling <sys/mount.h> to export nfs stuff.
Notes
Notes: svn path=/head/; revision=24382
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 31ff096f16d6..c98dbd1e7361 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -49,9 +49,7 @@ static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#include <sys/file.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
-#define NFS
#include <sys/mount.h>
-#undef NFS
#include <sys/uio.h>
#include <sys/namei.h>
#include <miscfs/union/union.h>
@@ -59,9 +57,7 @@ static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#include <sys/stat.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
-#define KERNEL
#include <nfs/nfs.h>
-#undef KERNEL
#include <nfs/nfsnode.h>
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */