Changes in uspace/srv/ns/task.c [adb49f58:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
radb49f58 r96b02eb9 45 45 #define P2I_HASH_TABLE_CHAINS 256 46 46 47 static int get_id_by_phone( ipcarg_t phone_hash, task_id_t *id);47 static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id); 48 48 49 49 /* TODO: … … 124 124 typedef struct { 125 125 link_t link; 126 ipcarg_t phash; /**< Task ID. */126 sysarg_t phash; /**< Task ID. */ 127 127 task_id_t id; /**< Task ID. */ 128 128 } p2i_entry_t; … … 248 248 void wait_for_task(task_id_t id, ipc_call_t *call, ipc_callid_t callid) 249 249 { 250 ipcarg_t retval;250 sysarg_t retval; 251 251 task_exit_t texit; 252 252 … … 262 262 if (ht == NULL) { 263 263 /* No such task exists. */ 264 retval = ENOENT;265 goto out;264 ipc_answer_0(callid, ENOENT); 265 return; 266 266 } 267 267 … … 393 393 } 394 394 395 static int get_id_by_phone( ipcarg_t phone_hash, task_id_t *id)395 static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id) 396 396 { 397 397 unsigned long keys[1];
Note:
See TracChangeset
for help on using the changeset viewer.