aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-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 64f43b885..bfed6567c 100644
--- a/libbb/inode_hash.c
+++ b/libbb/inode_hash.c
@@ -56,10 +56,10 @@ char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf)
56 return NULL; 56 return NULL;
57} 57}
58 58
59#if !ENABLE_PLATFORM_MINGW32
59/* Add statbuf to statbuf hash table */ 60/* Add statbuf to statbuf hash table */
60void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) 61void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
61{ 62{
62#if !ENABLE_PLATFORM_MINGW32
63 int i; 63 int i;
64 ino_dev_hashtable_bucket_t *bucket; 64 ino_dev_hashtable_bucket_t *bucket;
65 65
@@ -77,8 +77,8 @@ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *
77 i = hash_inode(statbuf->st_ino); 77 i = hash_inode(statbuf->st_ino);
78 bucket->next = ino_dev_hashtable[i]; 78 bucket->next = ino_dev_hashtable[i];
79 ino_dev_hashtable[i] = bucket; 79 ino_dev_hashtable[i] = bucket;
80#endif
81} 80}
81#endif
82 82
83#if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP 83#if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP
84/* Clear statbuf hash table */ 84/* Clear statbuf hash table */