From c263a0048dbb766f3f48d99a2ff03ff8cd4c68ac Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 29 Mar 1997 12:50:41 +0000 Subject: [PATCH] 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 to export nfs stuff. --- usr.bin/fstat/fstat.c | 4 ---- usr.sbin/pstat/pstat.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index c879a97dbf9..4ffab3191ad 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 #include #undef KERNEL -#define NFS #include #include #include -#define KERNEL #include -#undef KERNEL #include -#undef NFS #include #include diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 31ff096f16d..c98dbd1e736 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 #include #include -#define NFS #include -#undef NFS #include #include #include @@ -59,9 +57,7 @@ static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95"; #include #include #include -#define KERNEL #include -#undef KERNEL #include #include #include /* XXX NTTYDISC is too well hidden */