Changes in kernel/generic/src/adt/hash_table.c [aafed15:5e801dc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
raafed15 r5e801dc 51 51 #include <adt/hash_table.h> 52 52 #include <adt/list.h> 53 #include <assert.h> 53 54 #include <stdlib.h> 54 #include <assert.h>55 55 #include <str.h> 56 56 … … 245 245 * 246 246 */ 247 ht_link_t *hash_table_find(const hash_table_t *h, void *key)247 ht_link_t *hash_table_find(const hash_table_t *h, const void *key) 248 248 { 249 249 assert(h && h->bucket); … … 306 306 * @return Returns the number of removed items. 307 307 */ 308 size_t hash_table_remove(hash_table_t *h, void *key)308 size_t hash_table_remove(hash_table_t *h, const void *key) 309 309 { 310 310 assert(h && h->bucket);
Note:
See TracChangeset
for help on using the changeset viewer.