Changeset eb13ef8 in mainline for uspace/lib/c/include/ipc/dev_iface.h


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 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/include/ipc/dev_iface.h

    rbb97118 reb13ef8  
    9191 */
    9292
    93 #define DEV_IPC_GET_ARG1(call) IPC_GET_ARG2((call))
    94 #define DEV_IPC_GET_ARG2(call) IPC_GET_ARG3((call))
    95 #define DEV_IPC_GET_ARG3(call) IPC_GET_ARG4((call))
    96 #define DEV_IPC_GET_ARG4(call) IPC_GET_ARG5((call))
     93#define DEV_IPC_GET_ARG1(call) IPC_GET_ARG2(&(call))
     94#define DEV_IPC_GET_ARG2(call) IPC_GET_ARG3(&(call))
     95#define DEV_IPC_GET_ARG3(call) IPC_GET_ARG4(&(call))
     96#define DEV_IPC_GET_ARG4(call) IPC_GET_ARG5(&(call))
    9797
    9898#endif
Note: See TracChangeset for help on using the changeset viewer.