Changeset ab87db5 in mainline for uspace/lib/c/generic/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/lib/c/generic/vfs/vfs.c

    rbc417660 rab87db5  
    641641
    642642        if (mountedfd)
    643                 *mountedfd = (int) IPC_GET_ARG1(answer);
     643                *mountedfd = (int) ipc_get_arg1(&answer);
    644644
    645645        if (rc != EOK)
     
    903903                return rc;
    904904
    905         *nread = (ssize_t) IPC_GET_ARG1(answer);
     905        *nread = (ssize_t) ipc_get_arg1(&answer);
    906906        return EOK;
    907907}
     
    12831283                return (errno_t) rc;
    12841284
    1285         *handle = (int) IPC_GET_ARG1(answer);
     1285        *handle = (int) ipc_get_arg1(&answer);
    12861286        return EOK;
    12871287}
     
    13671367                return rc;
    13681368
    1369         *nwritten = (ssize_t) IPC_GET_ARG1(answer);
     1369        *nwritten = (ssize_t) ipc_get_arg1(&answer);
    13701370        return EOK;
    13711371}
Note: See TracChangeset for help on using the changeset viewer.