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

    rbc417660 rab87db5  
    154154        inetping_sdu_t sdu;
    155155
    156         sdu.seq_no = IPC_GET_ARG1(*icall);
     156        sdu.seq_no = ipc_get_arg1(icall);
    157157
    158158        ipc_call_t call;
     
    213213                async_get_call(&call);
    214214
    215                 if (!IPC_GET_IMETHOD(call)) {
     215                if (!ipc_get_imethod(&call)) {
    216216                        async_answer_0(&call, EOK);
    217217                        return;
    218218                }
    219219
    220                 switch (IPC_GET_IMETHOD(call)) {
     220                switch (ipc_get_imethod(&call)) {
    221221                case INETPING_EV_RECV:
    222222                        inetping_ev_recv(&call);
Note: See TracChangeset for help on using the changeset viewer.