Changeset e417b96 in mainline for uspace/srv/net/nil/nil_messages.h


Ignore:
Timestamp:
2010-03-23T22:58:44Z (15 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5814ef7
Parents:
76ca3f7
Message:

IPC_[SG]ET_ARG macros refactored to be more explicit and safer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/nil_messages.h

    r76ca3f7 re417b96  
    8282/** Returns the protocol service message parameter.
    8383 */
    84 #define NIL_GET_PROTO(call)             (services_t) IPC_GET_ARG2(*call)
     84#define NIL_GET_PROTO(call) \
     85        ({services_t service = (services_t) IPC_GET_ARG2(*call); service;})
    8586
    8687/*@}*/
Note: See TracChangeset for help on using the changeset viewer.