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

    rbc417660 rab87db5  
    190190
    191191        assoc->udp = udp;
    192         assoc->id = IPC_GET_ARG1(answer);
     192        assoc->id = ipc_get_arg1(&answer);
    193193        assoc->cb = cb;
    194194        assoc->cb_arg = arg;
     
    404404
    405405        rmsg->udp = udp;
    406         rmsg->assoc_id = IPC_GET_ARG1(answer);
    407         rmsg->size = IPC_GET_ARG2(answer);
     406        rmsg->assoc_id = ipc_get_arg1(&answer);
     407        rmsg->size = ipc_get_arg2(&answer);
    408408        rmsg->remote_ep = ep;
    409409        return EOK;
     
    498498                async_get_call(&call);
    499499
    500                 if (!IPC_GET_IMETHOD(call)) {
     500                if (!ipc_get_imethod(&call)) {
    501501                        /* Hangup */
    502502                        async_answer_0(&call, EOK);
     
    504504                }
    505505
    506                 switch (IPC_GET_IMETHOD(call)) {
     506                switch (ipc_get_imethod(&call)) {
    507507                case UDP_EV_DATA:
    508508                        udp_ev_data(udp, &call);
Note: See TracChangeset for help on using the changeset viewer.