summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-29 12:50:41 +0000
committerbde <bde@FreeBSD.org>1997-03-29 12:50:41 +0000
commit4f000a95d2130d879224c2d13758468253802fa6 (patch)
tree4c46fc6eeee070684c1cf4945160341b4f7d96c8 /usr.sbin/pstat/pstat.c
parent5cfbec5a24a78b46363d52813f0ab55cc5aae08f (diff)
downloadFreeBSD-src-4f000a95d2130d879224c2d13758468253802fa6.zip
FreeBSD-src-4f000a95d2130d879224c2d13758468253802fa6.tar.gz
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.
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-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 31ff096..c98dbd1e 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 */
OpenPOWER on IntegriCloud