Changes in uspace/srv/fs/fat/fat_idx.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_idx.c
r5e801dc r0db0df2 37 37 38 38 #include "fat.h" 39 #include "../../vfs/vfs.h"40 39 #include <errno.h> 41 40 #include <str.h> … … 139 138 } 140 139 141 static bool pos_key_equal(const void *key, const ht_link_t *item)140 static bool pos_key_equal(const void *key, size_t hash, const ht_link_t *item) 142 141 { 143 142 const pos_key_t *pos = key; … … 149 148 } 150 149 151 static hash_table_ops_t uph_ops = {150 static const hash_table_ops_t uph_ops = { 152 151 .hash = pos_hash, 153 152 .key_hash = pos_key_hash, … … 180 179 } 181 180 182 static bool idx_key_equal(const void *key_arg, const ht_link_t *item) 181 static bool idx_key_equal(const void *key_arg, size_t hash, 182 const ht_link_t *item) 183 183 { 184 184 fat_idx_t *fidx = hash_table_get_inst(item, fat_idx_t, uih_link); … … 195 195 } 196 196 197 static hash_table_ops_t uih_ops = {197 static const hash_table_ops_t uih_ops = { 198 198 .hash = idx_hash, 199 199 .key_hash = idx_key_hash,
Note:
See TracChangeset
for help on using the changeset viewer.