Changes in uspace/srv/ns/task.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
r5e801dc r0db0df2 66 66 } 67 67 68 static bool task_key_equal(const void *key, const ht_link_t *item)68 static bool task_key_equal(const void *key, size_t hash, const ht_link_t *item) 69 69 { 70 70 const task_id_t *tid = key; … … 80 80 81 81 /** Operations for task hash table. */ 82 static hash_table_ops_t task_hash_table_ops = {82 static const hash_table_ops_t task_hash_table_ops = { 83 83 .hash = task_hash, 84 84 .key_hash = task_key_hash, … … 111 111 } 112 112 113 static bool p2i_key_equal(const void *key, const ht_link_t *item)113 static bool p2i_key_equal(const void *key, size_t hash, const ht_link_t *item) 114 114 { 115 115 const sysarg_t *label = key; … … 131 131 132 132 /** Operations for task hash table. */ 133 static hash_table_ops_t p2i_ops = {133 static const hash_table_ops_t p2i_ops = { 134 134 .hash = p2i_hash, 135 135 .key_hash = p2i_key_hash,
Note:
See TracChangeset
for help on using the changeset viewer.