Changeset bd76871 in mainline for uspace/lib/c/include/stdio.h


Ignore:
Timestamp:
2018-01-13T15:12:11Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1d6dd2a
Parents:
09d13c8e
Message:

Remove unused nonstandard DEBUG macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stdio.h

    r09d13c8e rbd76871  
    5757/** Default size for stream I/O buffers */
    5858#define BUFSIZ  4096
    59 
    60 #define DEBUG(fmt, ...) \
    61         { \
    62                 char _buf[256]; \
    63                 int _n = snprintf(_buf, sizeof(_buf), fmt, ##__VA_ARGS__); \
    64                 if (_n > 0) \
    65                         (void) __SYSCALL3(SYS_KIO, KIO_WRITE, (sysarg_t) _buf, str_size(_buf)); \
    66         }
    6759
    6860enum _buffer_type {
Note: See TracChangeset for help on using the changeset viewer.