Changes in kernel/generic/src/adt/hash_table.c [96b02eb9:98000fb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
r96b02eb9 r98000fb 40 40 #include <adt/hash_table.h> 41 41 #include <adt/list.h> 42 #include < typedefs.h>42 #include <arch/types.h> 43 43 #include <debug.h> 44 44 #include <mm/slab.h> … … 82 82 * @param item Item to be inserted into the hash table. 83 83 */ 84 void hash_table_insert(hash_table_t *h, sysarg_t key[], link_t *item)84 void hash_table_insert(hash_table_t *h, unative_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, sysarg_t key[])107 link_t *hash_table_find(hash_table_t *h, unative_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, sysarg_t key[], size_t keys)140 void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys) 141 141 { 142 142 size_t chain;
Note:
See TracChangeset
for help on using the changeset viewer.