Changeset 1c85bae in mainline
- Timestamp:
- 2017-08-18T21:09:10Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e9d15d9
- Parents:
- 05ffb41
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/hash_table.h
r05ffb41 r1c85bae 82 82 extern link_t *hash_table_find(hash_table_t *h, sysarg_t key[]); 83 83 extern void hash_table_remove(hash_table_t *h, sysarg_t key[], size_t keys); 84 extern void hash_table_remove_item(hash_table_t *h, link_t *item); 84 85 85 86 #endif -
kernel/generic/src/adt/hash_table.c
r05ffb41 r1c85bae 190 190 } 191 191 192 /** Remove an existing item from hash table. 193 * 194 * @param h Hash table. 195 * @param item Item to remove from the hash table. 196 */ 197 void hash_table_remove_item(hash_table_t *h, link_t *item) 198 { 199 assert(h); 200 assert(h->op); 201 202 list_remove(item); 203 if (h->op->remove_callback) 204 h->op->remove_callback(item); 205 } 206 192 207 /** @} 193 208 */
Note:
See TracChangeset
for help on using the changeset viewer.