Ignore:
File:
1 edited

Legend:

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

    r9ac2013 r3629481  
    4141#include <adt/list.h>
    4242
    43 #ifndef NVERIFY_PRINTF
    44 
    45 #define PRINTF_ATTRIBUTE(start, end) \
    46         __attribute__((format(gnu_printf, start, end)))
    47 
    48 #else /* NVERIFY_PRINTF */
    49 
    50 #define PRINTF_ATTRIBUTE(start, end)
    51 
    52 #endif /* NVERIFY_PRINTF */
    53 
    5443#define EOF  (-1)
    5544
     
    5746#define BUFSIZ  4096
    5847
    59 #define DEBUG(fmt, ...) \
     48#define DEBUG(fmt, ...)se\
    6049        { \
    6150                char _buf[256]; \
     
    160149
    161150/* Formatted string output functions */
    162 extern int fprintf(FILE *, const char*, ...)
    163     PRINTF_ATTRIBUTE(2, 3);
     151extern int fprintf(FILE *, const char*, ...);
    164152extern int vfprintf(FILE *, const char *, va_list);
    165153
    166 extern int printf(const char *, ...)
    167     PRINTF_ATTRIBUTE(1, 2);
     154extern int printf(const char *, ...);
    168155extern int vprintf(const char *, va_list);
    169156
    170 extern int snprintf(char *, size_t , const char *, ...)
    171     PRINTF_ATTRIBUTE(3, 4);
    172 extern int asprintf(char **, const char *, ...)
    173     PRINTF_ATTRIBUTE(2, 3);
     157extern int snprintf(char *, size_t , const char *, ...);
     158extern int asprintf(char **, const char *, ...);
    174159extern int vsnprintf(char *, size_t, const char *, va_list);
    175160
Note: See TracChangeset for help on using the changeset viewer.