Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/concttome.c

    r466e95f7 rc33f39f  
    4040#include <arch.h>
    4141
     42static int request_preprocess(call_t *call, phone_t *phone)
     43{
     44        /* Start with the assumption that there is no allocated phoneid. */
     45        IPC_SET_ARG5(call->data, -1);
     46        return EOK;
     47}
     48
    4249static int request_process(call_t *call, answerbox_t *box)
    4350{
     
    4956}
    5057
    51 static int answer_cleanup(call_t *answer, ipc_data_t *olddata)
     58static void answer_cleanup(call_t *answer, ipc_data_t *olddata)
    5259{
    5360        int phoneid = (int) IPC_GET_ARG5(*olddata);
     
    5562        if (phoneid >= 0)
    5663                phone_dealloc(phoneid);
    57 
    58         return EOK;
    5964}
    6065
     
    8691
    8792sysipc_ops_t ipc_m_connect_to_me_ops = {
    88         .request_preprocess = null_request_preprocess,
     93        .request_preprocess = request_preprocess,
    8994        .request_forget = null_request_forget,
    9095        .request_process = request_process,
Note: See TracChangeset for help on using the changeset viewer.