Changeset ab87db5 in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.c

    rbc417660 rab87db5  
    6262                async_get_call(&call);
    6363
    64                 if (!IPC_GET_IMETHOD(call)) {
     64                if (!ipc_get_imethod(&call)) {
    6565                        async_answer_0(&call, EOK);
    6666                        break;
    6767                }
    6868
    69                 switch (IPC_GET_IMETHOD(call)) {
     69                switch (ipc_get_imethod(&call)) {
    7070                case IPC_M_PAGE_IN:
    7171                        vfs_page_in(&call);
     
    8080static void notification_handler(ipc_call_t *call, void *arg)
    8181{
    82         if (IPC_GET_ARG1(*call) == VFS_PASS_HANDLE)
     82        if (ipc_get_arg1(call) == VFS_PASS_HANDLE)
    8383                vfs_op_pass_handle(
    84                     (task_id_t) MERGE_LOUP32(IPC_GET_ARG4(*call),
    85                     IPC_GET_ARG5(*call)), call->task_id,
    86                     (int) IPC_GET_ARG2(*call));
     84                    (task_id_t) MERGE_LOUP32(ipc_get_arg4(call),
     85                    ipc_get_arg5(call)), call->task_id,
     86                    (int) ipc_get_arg2(call));
    8787}
    8888
Note: See TracChangeset for help on using the changeset viewer.