Changeset 1433ecda in mainline for uspace/srv/ns/task.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
r47b2d7e3 r1433ecda 58 58 static size_t task_key_hash(void *key) 59 59 { 60 return *(task_id_t *)key;60 return *(task_id_t *)key; 61 61 } 62 62 … … 70 70 { 71 71 hashed_task_t *ht = hash_table_get_inst(item, hashed_task_t, link); 72 return ht->id == *(task_id_t *)key;72 return ht->id == *(task_id_t *)key; 73 73 } 74 74 … … 101 101 static size_t p2i_key_hash(void *key) 102 102 { 103 sysarg_t in_phone_hash = *(sysarg_t *)key;103 sysarg_t in_phone_hash = *(sysarg_t *)key; 104 104 return in_phone_hash; 105 105 } … … 113 113 static bool p2i_key_equal(void *key, const ht_link_t *item) 114 114 { 115 sysarg_t in_phone_hash = *(sysarg_t *)key;115 sysarg_t in_phone_hash = *(sysarg_t *)key; 116 116 p2i_entry_t *entry = hash_table_get_inst(item, p2i_entry_t, link); 117 117
Note:
See TracChangeset
for help on using the changeset viewer.