diff options
author | Bruce Evans <bde@FreeBSD.org> | 1998-02-01 21:53:19 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1998-02-01 21:53:19 +0000 |
commit | 743d5543e2ca854f6668a02ee51fa0bf28377217 (patch) | |
tree | b53af0ca87df645bb2bb1a3aeead5c4c0dae8ba3 /sbin/mount_nfs | |
parent | bc3de552add77e20ea12872b70bd3a04f03e15ec (diff) | |
download | src-743d5543e2ca854f6668a02ee51fa0bf28377217.tar.gz src-743d5543e2ca854f6668a02ee51fa0bf28377217.zip |
Don't define KERNEL before including <nfs/nfs.h>. It is no longer
necessary. This fixes warnings about missing forward declarations
for structs in kernel-only prototypes.
Notes
Notes:
svn path=/head/; revision=32999
Diffstat (limited to 'sbin/mount_nfs')
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index 7a4a45363d26..510db4ab7e6c 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -45,7 +45,7 @@ static char copyright[] = static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95"; */ static const char rcsid[] = - "$Id: mount_nfs.c,v 1.25 1997/12/24 00:58:39 imp Exp $"; + "$Id: mount_nfs.c,v 1.26 1997/12/26 23:28:12 imp Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -70,9 +70,7 @@ static const char rcsid[] = #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> -#define KERNEL #include <nfs/nfs.h> -#undef KERNEL #include <nfs/nqnfs.h> #include <arpa/inet.h> |