1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Remove extern declarations of stuff which is static in nfs_node.c

Move related macro to nfs_node.c

Spotted by:	FlexeLint
This commit is contained in:
Poul-Henning Kamp 2002-10-20 21:40:55 +00:00
parent f3a01463b9
commit 0c183c5a56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105563
2 changed files with 3 additions and 6 deletions

View File

@ -200,12 +200,6 @@ extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq;
#define R_MUSTRESEND 0x40 /* Must resend request */
#define R_GETONEREP 0x80 /* Probe for one reply only */
extern struct nfsnodehashhead *nfsnodehashtbl;
extern u_long nfsnodehash;
#define NFSNOHASH(fhsum) \
(&nfsnodehashtbl[(fhsum) & nfsnodehash])
/*
* Defines for WebNFS
*/

View File

@ -64,6 +64,9 @@ static LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl;
static u_long nfsnodehash;
static int nfs_node_hash_lock;
#define NFSNOHASH(fhsum) \
(&nfsnodehashtbl[(fhsum) & nfsnodehash])
#define TRUE 1
#define FALSE 0