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
@ -200,12 +200,6 @@ extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq;
|
|||||||
#define R_MUSTRESEND 0x40 /* Must resend request */
|
#define R_MUSTRESEND 0x40 /* Must resend request */
|
||||||
#define R_GETONEREP 0x80 /* Probe for one reply only */
|
#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
|
* Defines for WebNFS
|
||||||
*/
|
*/
|
||||||
|
@ -64,6 +64,9 @@ static LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl;
|
|||||||
static u_long nfsnodehash;
|
static u_long nfsnodehash;
|
||||||
static int nfs_node_hash_lock;
|
static int nfs_node_hash_lock;
|
||||||
|
|
||||||
|
#define NFSNOHASH(fhsum) \
|
||||||
|
(&nfsnodehashtbl[(fhsum) & nfsnodehash])
|
||||||
|
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user