summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-01 21:53:19 +0000
committerbde <bde@FreeBSD.org>1998-02-01 21:53:19 +0000
commit727e1b019459b4e51d863347df099157fe768b81 (patch)
tree5ff602b4c8bf785bd5f96480caaf74f1ac3b5ef2 /sbin
parenta1f8745634886199dde3f3fab1edef92c32f3d99 (diff)
downloadFreeBSD-src-727e1b019459b4e51d863347df099157fe768b81.zip
FreeBSD-src-727e1b019459b4e51d863347df099157fe768b81.tar.gz
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.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_nfs/mount_nfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 7a4a453..510db4a 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>
OpenPOWER on IntegriCloud