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.
This commit is contained in:
Bruce Evans 1998-02-01 21:53:19 +00:00
parent bc3de552ad
commit 743d5543e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32999

View file

@ -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>