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

    rbc417660 rab87db5  
    180180        inet_dgram_t dgram;
    181181
    182         dgram.tos = IPC_GET_ARG1(*icall);
    183         dgram.iplink = IPC_GET_ARG2(*icall);
     182        dgram.tos = ipc_get_arg1(icall);
     183        dgram.iplink = ipc_get_arg2(icall);
    184184
    185185        ipc_call_t call;
     
    240240                async_get_call(&call);
    241241
    242                 if (!IPC_GET_IMETHOD(call)) {
     242                if (!ipc_get_imethod(&call)) {
    243243                        async_answer_0(&call, EOK);
    244244                        return;
    245245                }
    246246
    247                 switch (IPC_GET_IMETHOD(call)) {
     247                switch (ipc_get_imethod(&call)) {
    248248                case INET_EV_RECV:
    249249                        inet_ev_recv(&call);
Note: See TracChangeset for help on using the changeset viewer.