Ignore:
File:
1 edited

Legend:

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

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