Changeset a46e56b in mainline for uspace/lib/c/generic/loc.c


Ignore:
Timestamp:
2018-03-22T06:49:35Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

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

    r3e242d2 ra46e56b  
    5555static async_sess_t *loc_consumer_sess = NULL;
    5656
    57 static void loc_cb_conn(cap_call_handle_t iid, ipc_call_t *icall, void *arg)
     57static void loc_cb_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
    5858{
    5959        while (true) {
    6060                ipc_call_t call;
    61                 cap_call_handle_t callid = async_get_call(&call);
     61                cap_call_handle_t chandle = async_get_call(&call);
    6262
    6363                if (!IPC_GET_IMETHOD(call)) {
     
    7272                        fibril_mutex_unlock(&loc_callback_mutex);
    7373
    74                         async_answer_0(callid, EOK);
     74                        async_answer_0(chandle, EOK);
    7575
    7676                        if (cb_fun != NULL)
     
    7979                        break;
    8080                default:
    81                         async_answer_0(callid, ENOTSUP);
     81                        async_answer_0(chandle, ENOTSUP);
    8282                }
    8383        }
Note: See TracChangeset for help on using the changeset viewer.