Ignore:
File:
1 edited

Legend:

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

    rc33f39f r466e95f7  
    4040#include <arch.h>
    4141
    42 static 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 
    4942static int request_process(call_t *call, answerbox_t *box)
    5043{
     
    5649}
    5750
    58 static void answer_cleanup(call_t *answer, ipc_data_t *olddata)
     51static int answer_cleanup(call_t *answer, ipc_data_t *olddata)
    5952{
    6053        int phoneid = (int) IPC_GET_ARG5(*olddata);
     
    6255        if (phoneid >= 0)
    6356                phone_dealloc(phoneid);
     57
     58        return EOK;
    6459}
    6560
     
    9186
    9287sysipc_ops_t ipc_m_connect_to_me_ops = {
    93         .request_preprocess = request_preprocess,
     88        .request_preprocess = null_request_preprocess,
    9489        .request_forget = null_request_forget,
    9590        .request_process = request_process,
Note: See TracChangeset for help on using the changeset viewer.