Changes in uspace/lib/c/include/ipc/nil.h [64d2b10:f5a3479] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/nil.h
r64d2b10 rf5a3479 38 38 #define LIBC_NIL_MESSAGES_H_ 39 39 40 #include <ipc/ipc.h> 40 41 #include <ipc/net.h> 41 42 … … 76 77 77 78 /** Return the protocol service message parameter. */ 78 #define NIL_GET_PROTO(call) ((services_t) IPC_GET_ARG2(call)) 79 #define NIL_GET_PROTO(call) \ 80 ({ \ 81 services_t service = (services_t) IPC_GET_ARG2(*call); \ 82 service; \ 83 }) 79 84 80 85 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.