remove local definitions of TRUE and FALSE.
This commit is contained in:
parent
acec11e5ac
commit
08bf5aae7b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_node.c,v 1.63 2003/05/07 13:16:35 yamt Exp $ */
|
||||
/* $NetBSD: nfs_node.c,v 1.64 2003/05/21 13:50:54 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_node.c,v 1.63 2003/05/07 13:16:35 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_node.c,v 1.64 2003/05/21 13:50:54 yamt Exp $");
|
||||
|
||||
#include "opt_nfs.h"
|
||||
|
||||
|
@ -75,9 +75,6 @@ MALLOC_DEFINE(M_NFSNODE, "NFS node", "NFS vnode private part");
|
|||
|
||||
extern int prtactive;
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#define nfs_hash(x,y) hash32_buf((x), (y), HASH32_BUF_INIT)
|
||||
|
||||
void nfs_gop_size(struct vnode *, off_t, off_t *, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_nqlease.c,v 1.47 2003/04/24 21:21:04 drochner Exp $ */
|
||||
/* $NetBSD: nfs_nqlease.c,v 1.48 2003/05/21 13:50:54 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -53,7 +53,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_nqlease.c,v 1.47 2003/04/24 21:21:04 drochner Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_nqlease.c,v 1.48 2003/05/21 13:50:54 yamt Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
|
@ -147,9 +147,6 @@ extern int nfsd_waiting;
|
|||
extern struct nfsstats nfsstats;
|
||||
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#if defined(NFSSERVER) || (defined(NFS) && !defined(NFS_V2_ONLY))
|
||||
/*
|
||||
* Get or check for a lease for "vp", based on ND_CHECK flag.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_socket.c,v 1.84 2003/05/21 13:31:04 yamt Exp $ */
|
||||
/* $NetBSD: nfs_socket.c,v 1.85 2003/05/21 13:50:54 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1995
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.84 2003/05/21 13:31:04 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.85 2003/05/21 13:50:54 yamt Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
|
@ -87,9 +87,6 @@ MALLOC_DEFINE(M_NFSREQ, "NFS req", "NFS request header");
|
|||
struct mowner nfs_mowner = { "nfs" };
|
||||
#endif
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
/*
|
||||
* Estimate rto for an nfs rpc sent via. an unreliable datagram.
|
||||
* Use the mean and mean deviation of rtt for the appropriate type of rpc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_srvcache.c,v 1.22 2003/04/02 15:14:22 yamt Exp $ */
|
||||
/* $NetBSD: nfs_srvcache.c,v 1.23 2003/05/21 13:50:54 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -45,7 +45,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.22 2003/04/02 15:14:22 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_srvcache.c,v 1.23 2003/05/21 13:50:54 yamt Exp $");
|
||||
|
||||
#include "opt_iso.h"
|
||||
|
||||
|
@ -82,9 +82,6 @@ LIST_HEAD(nfsrvhash, nfsrvcache) *nfsrvhashtbl;
|
|||
TAILQ_HEAD(nfsrvlru, nfsrvcache) nfsrvlruhead;
|
||||
u_long nfsrvhash;
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#define NETFAMILY(rp) \
|
||||
(((rp)->rc_flag & RC_INETADDR) ? AF_INET : AF_ISO)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_syscalls.c,v 1.60 2003/05/07 16:18:54 yamt Exp $ */
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.61 2003/05/21 13:50:55 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.60 2003/05/07 16:18:54 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.61 2003/05/21 13:50:55 yamt Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfs.h"
|
||||
|
@ -121,9 +121,6 @@ int nfsd_head_flag;
|
|||
|
||||
MALLOC_DEFINE(M_NFSUID, "NFS uid", "Nfs uid mapping structure");
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#ifdef NFS
|
||||
struct nfs_iod nfs_asyncdaemon[NFS_MAXASYNCDAEMON];
|
||||
int nfs_niothreads = -1; /* == "0, and has never been set" */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_vfsops.c,v 1.127 2003/05/03 16:28:58 yamt Exp $ */
|
||||
/* $NetBSD: nfs_vfsops.c,v 1.128 2003/05/21 13:50:55 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993, 1995
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.127 2003/05/03 16:28:58 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.128 2003/05/21 13:50:55 yamt Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -127,9 +127,6 @@ extern u_int32_t nfs_prog, nfs_vers;
|
|||
static int nfs_mount_diskless __P((struct nfs_dlmount *, const char *,
|
||||
struct mount **, struct vnode **, struct proc *));
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
/*
|
||||
* nfs statfs call
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_vnops.c,v 1.167 2003/05/21 13:27:20 yamt Exp $ */
|
||||
/* $NetBSD: nfs_vnops.c,v 1.168 2003/05/21 13:50:55 yamt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.167 2003/05/21 13:27:20 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.168 2003/05/21 13:50:55 yamt Exp $");
|
||||
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_uvmhist.h"
|
||||
|
@ -88,10 +88,6 @@ __KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.167 2003/05/21 13:27:20 yamt Exp $")
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/in_var.h>
|
||||
|
||||
/* Defs */
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
/*
|
||||
* Global vfs data structures for nfs
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue