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:
parent
f3a01463b9
commit
0c183c5a56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105563
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user