aboutsummaryrefslogtreecommitdiff
path: root/libbb/inode_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/inode_hash.c')
-rw-r--r--libbb/inode_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c
index 2aea08b04..715535ef5 100644
--- a/libbb/inode_hash.c
+++ b/libbb/inode_hash.c
@@ -17,8 +17,8 @@ typedef struct ino_dev_hash_bucket_struct {
17 char name[1]; 17 char name[1];
18} ino_dev_hashtable_bucket_t; 18} ino_dev_hashtable_bucket_t;
19 19
20#define HASH_SIZE 311 /* Should be prime */ 20#define HASH_SIZE 311 /* Should be prime */
21#define hash_inode(i) ((i) % HASH_SIZE) 21#define hash_inode(i) ((i) % HASH_SIZE)
22 22
23/* array of [HASH_SIZE] elements */ 23/* array of [HASH_SIZE] elements */
24static ino_dev_hashtable_bucket_t **ino_dev_hashtable; 24static ino_dev_hashtable_bucket_t **ino_dev_hashtable;