Changeset a46da63 in mainline for libc/include/err.h


Ignore:
Timestamp:
2006-06-16T20:50:51Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
153a209
Parents:
b34fab6
Message:

big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/err.h

    rb34fab6 ra46da63  
    2727 */
    2828
    29  /** @addtogroup libc
     29/** @addtogroup libc
    3030 * @{
    3131 */
     
    3636#define _libc__ERR_H_
    3737
    38 #define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);}
     38#define errx(status, fmt, ...) { \
     39        printf((fmt), ##__VA_ARGS__); \
     40        _exit(status); \
     41}
    3942
    4043#endif
    4144
    4245
    43  /** @}
     46/** @}
    4447 */
    45  
    46  
Note: See TracChangeset for help on using the changeset viewer.