Ignore:
File:
1 edited

Legend:

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

    r64d2b10 rf87ec535  
    3939#define LIBC_ARP_MESSAGES_
    4040
     41#include <ipc/ipc.h>
    4142#include <ipc/net.h>
    4243
     
    6869/*@{*/
    6970
    70 /** Return the protocol service message parameter.
    71  *
    72  * @param[in] call Message call structure.
    73  *
     71/** Returns the protocol service message parameter.
     72 * @param[in] call The message call structure.
    7473 */
    75 #define ARP_GET_NETIF(call) ((services_t) IPC_GET_ARG2(call))
     74#define ARP_GET_NETIF(call) \
     75        ({ \
     76                services_t service = (services_t) IPC_GET_ARG2(*call); \
     77                service; \
     78        })
    7679
    7780/*@}*/
Note: See TracChangeset for help on using the changeset viewer.