Changeset 984a9ba in mainline for uspace/lib/c/generic/loc.c
- Timestamp:
- 2018-07-05T09:34:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63d46341
- Parents:
- 76f566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loc.c
r76f566d r984a9ba 55 55 static async_sess_t *loc_consumer_sess = NULL; 56 56 57 static void loc_cb_conn( cap_call_handle_t icall_handle,ipc_call_t *icall, void *arg)57 static void loc_cb_conn(ipc_call_t *icall, void *arg) 58 58 { 59 59 while (true) { 60 60 ipc_call_t call; 61 cap_call_handle_t chandle =async_get_call(&call);61 async_get_call(&call); 62 62 63 63 if (!IPC_GET_IMETHOD(call)) { … … 72 72 fibril_mutex_unlock(&loc_callback_mutex); 73 73 74 async_answer_0( chandle, EOK);74 async_answer_0(&call, EOK); 75 75 76 76 if (cb_fun != NULL) … … 79 79 break; 80 80 default: 81 async_answer_0( chandle, ENOTSUP);81 async_answer_0(&call, ENOTSUP); 82 82 } 83 83 }
Note:
See TracChangeset
for help on using the changeset viewer.