Changeset eb13ef8 in mainline for uspace/lib/c/generic/inet.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fafb8e5
Parents:
bb97118
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Change IPC_GET_* and IPC_SET_* to accept pointer instead of lvalue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet.c

    rbb97118 reb13ef8  
    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.