Changes in uspace/srv/ns/task.c [adb49f58:96b02eb9] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    radb49f58 r96b02eb9  
    4545#define P2I_HASH_TABLE_CHAINS  256
    4646
    47 static int get_id_by_phone(ipcarg_t phone_hash, task_id_t *id);
     47static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id);
    4848
    4949/* TODO:
     
    124124typedef struct {
    125125        link_t link;
    126         ipcarg_t phash;    /**< Task ID. */
     126        sysarg_t phash;    /**< Task ID. */
    127127        task_id_t id;    /**< Task ID. */
    128128} p2i_entry_t;
     
    248248void wait_for_task(task_id_t id, ipc_call_t *call, ipc_callid_t callid)
    249249{
    250         ipcarg_t retval;
     250        sysarg_t retval;
    251251        task_exit_t texit;
    252252
     
    262262        if (ht == NULL) {
    263263                /* No such task exists. */
    264                 retval = ENOENT;
    265                 goto out;
     264                ipc_answer_0(callid, ENOENT);
     265                return;
    266266        }
    267267
     
    393393}
    394394
    395 static int get_id_by_phone(ipcarg_t phone_hash, task_id_t *id)
     395static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id)
    396396{
    397397        unsigned long keys[1];
Note: See TracChangeset for help on using the changeset viewer.