Changeset aadf01e in mainline for uspace/srv/net/app/print_error.h


Ignore:
Timestamp:
2010-03-07T15:13:28Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
936835e
Parents:
aa85487
Message:

Coding style (no functional change)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/app/print_error.h

    raa85487 raadf01e  
    4242 *  @returns A value indicating whether the error code may be an ICMP error code.
    4343 */
    44 #define IS_ICMP_ERROR( error_code )             (( error_code ) > 0 )
     44#define IS_ICMP_ERROR(error_code)               ((error_code) > 0)
    4545
    4646/** Returns whether the error code may be socket error code.
     
    4848 *  @returns A value indicating whether the error code may be a socket error code.
    4949 */
    50 #define IS_SOCKET_ERROR( error_code )   (( error_code ) < 0 )
     50#define IS_SOCKET_ERROR(error_code)     ((error_code) < 0)
    5151
    5252/** Prints the error description.
     
    5757 *  @param[in] suffix The error description suffix. May be NULL.
    5858 */
    59 void print_error( FILE * output, int error_code, const char * prefix, const char * suffix );
     59void print_error(FILE * output, int error_code, const char * prefix, const char * suffix);
    6060
    6161/** Prints the specific ICMP error description.
     
    6565 *  @param[in] suffix The error description suffix. May be NULL.
    6666 */
    67 void icmp_print_error( FILE * output, int error_code, const char * prefix, const char * suffix );
     67void icmp_print_error(FILE * output, int error_code, const char * prefix, const char * suffix);
    6868
    6969/** Prints the specific socket error description.
     
    7373 *  @param[in] suffix The error description suffix. May be NULL.
    7474 */
    75 void socket_print_error( FILE * output, int error_code, const char * prefix, const char * suffix );
     75void socket_print_error(FILE * output, int error_code, const char * prefix, const char * suffix);
    7676
    7777#endif
Note: See TracChangeset for help on using the changeset viewer.