summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
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.bin/fstat
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.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index c879a97..4ffab31 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -61,15 +61,11 @@ static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
#undef KERNEL
-#define NFS
#include <sys/mount.h>
#include <nfs/nfsproto.h>
#include <nfs/rpcv2.h>
-#define KERNEL
#include <nfs/nfs.h>
-#undef KERNEL
#include <nfs/nfsnode.h>
-#undef NFS
#include <net/route.h>
#include <netinet/in.h>
OpenPOWER on IntegriCloud