Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 r7b616e2  
    4646static async_sess_t *sess_ns = NULL;
    4747
    48 errno_t service_register(service_t service)
     48int service_register(service_t service)
    4949{
    50         errno_t retval;
     50        sysarg_t retval;
    5151        ipc_call_t answer;
    5252       
     
    5757        async_exch_t *exch = async_exchange_begin(sess);
    5858        aid_t req = async_send_1(exch, NS_REGISTER, service, &answer);
    59         errno_t rc = async_connect_to_me(exch, 0, service, 0);
     59        int rc = async_connect_to_me(exch, 0, service, 0);
    6060       
    6161        async_exchange_end(exch);
     
    123123
    124124
    125 errno_t ns_ping(void)
     125int ns_ping(void)
    126126{
    127127        async_sess_t *sess = ns_session_get();
     
    130130       
    131131        async_exch_t *exch = async_exchange_begin(sess);
    132         errno_t rc = async_req_0_0(exch, NS_PING);
     132        int rc = async_req_0_0(exch, NS_PING);
    133133        async_exchange_end(exch);
    134134       
     
    136136}
    137137
    138 errno_t ns_intro(task_id_t id)
     138int ns_intro(task_id_t id)
    139139{
    140140        async_exch_t *exch;
     
    144144       
    145145        exch = async_exchange_begin(sess);
    146         errno_t rc = async_req_2_0(exch, NS_ID_INTRO, LOWER32(id), UPPER32(id));
     146        int rc = async_req_2_0(exch, NS_ID_INTRO, LOWER32(id), UPPER32(id));
    147147        async_exchange_end(exch);
    148148       
Note: See TracChangeset for help on using the changeset viewer.