Changeset 98000fb in mainline for kernel/generic/src/adt/hash_table.c
- Timestamp:
- 2009-06-03T19:34:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
r69e68e3 r98000fb 52 52 * @param op Hash table operations structure. 53 53 */ 54 void hash_table_create(hash_table_t *h, count_t m, count_t max_keys, hash_table_operations_t *op)54 void hash_table_create(hash_table_t *h, size_t m, size_t max_keys, hash_table_operations_t *op) 55 55 { 56 index_t i;56 size_t i; 57 57 58 58 ASSERT(h); … … 84 84 void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item) 85 85 { 86 index_t chain;86 size_t chain; 87 87 88 88 ASSERT(item); … … 108 108 { 109 109 link_t *cur; 110 index_t chain;110 size_t chain; 111 111 112 112 ASSERT(h); … … 138 138 * @param keys Number of keys in the key array. 139 139 */ 140 void hash_table_remove(hash_table_t *h, unative_t key[], count_t keys)140 void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys) 141 141 { 142 index_t chain;142 size_t chain; 143 143 link_t *cur; 144 144
Note:
See TracChangeset
for help on using the changeset viewer.