Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/generic/kbd.c

    rffa2c8ef r228e490  
    3636 */
    3737
     38#include <ipc/ipc.h>
    3839#include <ipc/services.h>
    3940#include <ipc/kbd.h>
     
    172173        int retval;
    173174
    174         async_answer_0(iid, EOK);
     175        ipc_answer_0(iid, EOK);
    175176
    176177        while (1) {
     
    179180                case IPC_M_PHONE_HUNGUP:
    180181                        if (client_phone != -1) {
    181                                 async_hangup(client_phone);
     182                                ipc_hangup(client_phone);
    182183                                client_phone = -1;
    183184                        }
    184185                       
    185                         async_answer_0(callid, EOK);
     186                        ipc_answer_0(callid, EOK);
    186187                        return;
    187188                case IPC_M_CONNECT_TO_ME:
     
    204205                        retval = EINVAL;
    205206                }
    206                 async_answer_0(callid, retval);
     207                ipc_answer_0(callid, retval);
    207208        }       
    208209}
     
    222223       
    223224        if (cir_service) {
    224                 while (cir_phone < 0)
    225                         cir_phone = service_connect_blocking(cir_service, 0, 0);
     225                while (cir_phone < 0) {
     226                        cir_phone = ipc_connect_me_to_blocking(PHONE_NS, cir_service,
     227                            0, 0);
     228                }
    226229        }
    227230       
Note: See TracChangeset for help on using the changeset viewer.