Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/nil.h

    r64d2b10 rf5a3479  
    3838#define LIBC_NIL_MESSAGES_H_
    3939
     40#include <ipc/ipc.h>
    4041#include <ipc/net.h>
    4142
     
    7677
    7778/** 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        })
    7984
    8085/*@}*/
Note: See TracChangeset for help on using the changeset viewer.