mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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:
parent
bc3de552ad
commit
743d5543e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32999
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue