Changeset 96b02eb9 in mainline for kernel/generic/src/adt/hash_table.c
- Timestamp:
- 2010-12-14T12:52:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
r554debd r96b02eb9 82 82 * @param item Item to be inserted into the hash table. 83 83 */ 84 void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item)84 void hash_table_insert(hash_table_t *h, sysarg_t key[], link_t *item) 85 85 { 86 86 size_t chain; … … 105 105 * @return Matching item on success, NULL if there is no such item. 106 106 */ 107 link_t *hash_table_find(hash_table_t *h, unative_t key[])107 link_t *hash_table_find(hash_table_t *h, sysarg_t key[]) 108 108 { 109 109 link_t *cur; … … 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[], size_t keys)140 void hash_table_remove(hash_table_t *h, sysarg_t key[], size_t keys) 141 141 { 142 142 size_t chain;
Note:
See TracChangeset
for help on using the changeset viewer.