mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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 <sys/mount.h> to export nfs stuff.
This commit is contained in:
parent
b445591810
commit
c263a0048d
2 changed files with 0 additions and 8 deletions
|
|
@ -61,15 +61,11 @@ static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
|
|||
#include <ufs/ufs/quota.h>
|
||||
#include <ufs/ufs/inode.h>
|
||||
#undef KERNEL
|
||||
#define NFS
|
||||
#include <sys/mount.h>
|
||||
#include <nfs/nfsproto.h>
|
||||
#include <nfs/rpcv2.h>
|
||||
#define KERNEL
|
||||
#include <nfs/nfs.h>
|
||||
#undef KERNEL
|
||||
#include <nfs/nfsnode.h>
|
||||
#undef NFS
|
||||
|
||||
#include <net/route.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
|||
|
|
@ -49,9 +49,7 @@ static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
|
|||
#include <sys/file.h>
|
||||
#include <ufs/ufs/quota.h>
|
||||
#include <ufs/ufs/inode.h>
|
||||
#define NFS
|
||||
#include <sys/mount.h>
|
||||
#undef NFS
|
||||
#include <sys/uio.h>
|
||||
#include <sys/namei.h>
|
||||
#include <miscfs/union/union.h>
|
||||
|
|
@ -59,9 +57,7 @@ static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
|
|||
#include <sys/stat.h>
|
||||
#include <nfs/rpcv2.h>
|
||||
#include <nfs/nfsproto.h>
|
||||
#define KERNEL
|
||||
#include <nfs/nfs.h>
|
||||
#undef KERNEL
|
||||
#include <nfs/nfsnode.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
|
||||
|
|
|
|||
Loading…
Reference in a new issue