Changeset 1897 in kBuild for trunk/src/kmk/dir.c
- Timestamp:
- Oct 21, 2008 1:21:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/dir.c
r1891 r1897 264 264 ISTRING_HASH_1 (key->path_key, hash); 265 265 # else /* CONFIG_WITH_STRCACHE2 */ 266 hash = strcache _get_hash1 (key->path_key);266 hash = strcache2_get_ptr_hash (&file_cache, key->path_key); 267 267 # endif /* CONFIG_WITH_STRCACHE2 */ 268 268 hash ^= ((unsigned int) key->dev << 4) ^ (unsigned int) key->ctime; … … 291 291 ISTRING_HASH_2 (key->path_key, hash); 292 292 # else /* CONFIG_WITH_STRCACHE2 */ 293 hash = strcache _get_hash2 (key->path_key);293 hash = strcache2_get_hash1 (&file_cache, key->path_key); 294 294 # endif /* CONFIG_WITH_STRCACHE2 */ 295 295 hash ^= ((unsigned int) key->dev << 4) ^ (unsigned int) ~key->ctime; … … 383 383 return_ISTRING_HASH_1 (((const struct directory *) key)->name); 384 384 #else 385 return strcache _get_hash1 (((const struct directory *) key)->name);385 return strcache2_get_ptr_hash (&file_cache, ((const struct directory *) key)->name); 386 386 #endif 387 387 } … … 393 393 return_ISTRING_HASH_2 (((const struct directory *) key)->name); 394 394 #else 395 return strcache _get_hash2 (((const struct directory *) key)->name);395 return strcache2_get_hash1 (&file_cache, ((const struct directory *) key)->name); 396 396 #endif 397 397 } … … 439 439 return_ISTRING_HASH_1 (((struct dirfile const *) key)->name); 440 440 #else 441 return strcache _get_hash1 (((struct dirfile const *) key)->name);441 return strcache2_get_ptr_hash (&file_cache, ((struct dirfile const *) key)->name); 442 442 #endif 443 443 } … … 449 449 return_ISTRING_HASH_2 (((struct dirfile const *) key)->name); 450 450 #else 451 return strcache _get_hash2 (((struct dirfile const *) key)->name);451 return strcache2_get_hash1 (&file_cache, ((struct dirfile const *) key)->name); 452 452 #endif 453 453 }
Note:
See TracChangeset
for help on using the changeset viewer.