Ignore:
Timestamp:
2019-08-31T10:45:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
102f641
Parents:
f92b315
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

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

    rf92b315 r241f1985  
    3333 */
    3434
    35 #define LIBC_ASYNC_C_
    36 #include <ipc/ipc.h>
    3735#include "private/async.h"
    3836#include "private/taskman.h"
    39 #undef LIBC_ASYNC_C_
     37
     38#undef _LIBC_ASYNC_H_
     39#include <ipc/ipc.h>
     40#define _LIBC_ASYNC_H_
    4041
    4142#include <errno.h>
     
    5051 * @return EOK on success, otherwise propagated error code
    5152 */
    52 int taskman_intro_ns_noasync(void)
     53errno_t taskman_intro_ns_noasync(void)
    5354{
    5455        assert(session_taskman);
    55         int phone = async_session_phone(session_taskman);
     56        cap_phone_handle_t phone = async_session_phone(session_taskman);
    5657
    57         ipc_call_async_0(phone, TASKMAN_I_AM_NS, NULL, NULL, false);
     58        ipc_call_async_0(phone, TASKMAN_I_AM_NS, NULL);
    5859
    59         ipc_call_async_3(phone, IPC_M_CONNECT_TO_ME, 0, 0, 0, NULL, NULL, false);
     60        ipc_call_async_3(phone, IPC_M_CONNECT_TO_ME, 0, 0, 0, NULL);
    6061
    6162        /*
     
    6768
    6869
    69 void task_retval_noasync(int retval)
     70void task_retval_noasync(errno_t retval)
    7071{
    7172        assert(session_taskman);
    72         int phone = async_session_phone(session_taskman);
     73        cap_phone_handle_t phone = async_session_phone(session_taskman);
    7374
    7475        /* Just send it and don't wait for an answer. */
    75         ipc_call_async_2(phone, TASKMAN_RETVAL, retval, false,
    76             NULL, NULL, false);
     76        ipc_call_async_2(phone, TASKMAN_RETVAL, retval, false, NULL);
    7777}
    7878
Note: See TracChangeset for help on using the changeset viewer.