Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ipc.c

    r633bcc6 rb72efe8  
    4747#include <futex.h>
    4848#include <fibril.h>
    49 #include <macros.h>
    5049
    5150/**
     
    612611/** Request callback connection.
    613612 *
    614  * The @a task_id and @a phonehash identifiers returned
     613 * The @a taskhash and @a phonehash identifiers returned
    615614 * by the kernel can be used for connection tracking.
    616615 *
     
    619618 * @param arg2      User defined argument.
    620619 * @param arg3      User defined argument.
    621  * @param task_id   Identifier of the client task.
     620 * @param taskhash  Opaque identifier of the client task.
    622621 * @param phonehash Opaque identifier of the phone that will
    623622 *                  be used for incoming calls.
     
    627626 */
    628627int ipc_connect_to_me(int phoneid, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3,
    629     task_id_t *task_id, sysarg_t *phonehash)
    630 {
    631         sysarg_t task_id_lo = 0;
    632         sysarg_t task_id_hi = 0;
    633         int rc;
    634 
    635         rc = ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_TO_ME, arg1, arg2, arg3,
    636             NULL, NULL, &task_id_lo, &task_id_hi, phonehash);
    637 
    638         *task_id = (task_id_t) MERGE_LOUP32(task_id_lo, task_id_hi);
    639         return rc;
     628    sysarg_t *taskhash, sysarg_t *phonehash)
     629{
     630        return ipc_call_sync_3_5(phoneid, IPC_M_CONNECT_TO_ME, arg1, arg2,
     631            arg3, NULL, NULL, NULL, taskhash, phonehash);
    640632}
    641633
Note: See TracChangeset for help on using the changeset viewer.