Ignore:
Timestamp:
2010-03-15T19:35:25Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6092b56e
Parents:
92307f1 (diff), 4684368 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from bzr://bzr.helenos.org/head.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/icmp/icmp_messages.h

    r92307f1 r858fc90  
    8282 *  @param[in] call The message call structure.
    8383 */
    84 #define ICMP_GET_CODE( call )           ( icmp_code_t ) IPC_GET_ARG1( * call )
     84#define ICMP_GET_CODE(call)             (icmp_code_t) IPC_GET_ARG1(*call)
    8585
    8686/** Returns the ICMP link MTU message parameter.
    8787 *  @param[in] call The message call structure.
    8888 */
    89 #define ICMP_GET_MTU( call )            ( icmp_param_t ) IPC_GET_ARG3( * call )
     89#define ICMP_GET_MTU(call)              (icmp_param_t) IPC_GET_ARG3(*call)
    9090
    9191/** Returns the pointer message parameter.
    9292 *  @param[in] call The message call structure.
    9393 */
    94 #define ICMP_GET_POINTER( call )                ( icmp_param_t ) IPC_GET_ARG3( * call )
     94#define ICMP_GET_POINTER(call)          (icmp_param_t) IPC_GET_ARG3(*call)
    9595
    9696/** Returns the size message parameter.
    9797 *  @param[in] call The message call structure.
    9898 */
    99 #define ICMP_GET_SIZE( call )   ( size_t ) IPC_GET_ARG1( call )
     99#define ICMP_GET_SIZE(call)     (size_t) IPC_GET_ARG1(call)
    100100
    101101/** Returns the timeout message parameter.
    102102 *  @param[in] call The message call structure.
    103103 */
    104 #define ICMP_GET_TIMEOUT( call )        (( suseconds_t ) IPC_GET_ARG2( call ))
     104#define ICMP_GET_TIMEOUT(call)  ((suseconds_t) IPC_GET_ARG2(call))
    105105
    106106/** Returns the time to live message parameter.
    107107 *  @param[in] call The message call structure.
    108108 */
    109 #define ICMP_GET_TTL( call )    ( ip_ttl_t ) IPC_GET_ARG3( call )
     109#define ICMP_GET_TTL(call)      (ip_ttl_t) IPC_GET_ARG3(call)
    110110
    111111/** Returns the type of service message parameter.
    112112 *  @param[in] call The message call structure.
    113113 */
    114 #define ICMP_GET_TOS( call )    ( ip_tos_t ) IPC_GET_ARG4( call )
     114#define ICMP_GET_TOS(call)      (ip_tos_t) IPC_GET_ARG4(call)
    115115
    116116/** Returns the dont fragment message parameter.
    117117 *  @param[in] call The message call structure.
    118118 */
    119 #define ICMP_GET_DONT_FRAGMENT( call )          ( int ) IPC_GET_ARG5( call )
     119#define ICMP_GET_DONT_FRAGMENT(call)            (int) IPC_GET_ARG5(call)
    120120
    121121/*@}*/
Note: See TracChangeset for help on using the changeset viewer.