Changeset ab87db5 in mainline for uspace/lib/c/generic/iplink.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (6 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/iplink.c

    rbc417660 rab87db5  
    248248        iplink_recv_sdu_t sdu;
    249249
    250         ip_ver_t ver = IPC_GET_ARG1(*icall);
     250        ip_ver_t ver = ipc_get_arg1(icall);
    251251
    252252        errno_t rc = async_data_write_accept(&sdu.data, false, 0, 0, 0,
     
    287287                async_get_call(&call);
    288288
    289                 if (!IPC_GET_IMETHOD(call)) {
     289                if (!ipc_get_imethod(&call)) {
    290290                        async_answer_0(&call, EOK);
    291291                        return;
    292292                }
    293293
    294                 switch (IPC_GET_IMETHOD(call)) {
     294                switch (ipc_get_imethod(&call)) {
    295295                case IPLINK_EV_RECV:
    296296                        iplink_ev_recv(iplink, &call);
Note: See TracChangeset for help on using the changeset viewer.