Ignore:
Timestamp:
2018-08-04T14:23:17Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ab7075f
Parents:
c8c418cf
Message:

unify format verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/include/printf_verify.h

    rc8c418cf r7afd12e5  
    3333#define BOOT_PRINTF_VERIFY_H_
    3434
    35 #ifndef _HELENOS_NVERIFY_PRINTF
    36 
     35#ifdef __clang__
     36#define _HELENOS_PRINTF_ATTRIBUTE(start, end) \
     37        __attribute__((format(__printf__, start, end)))
     38#else
    3739#define _HELENOS_PRINTF_ATTRIBUTE(start, end) \
    3840        __attribute__((format(gnu_printf, start, end)))
    39 
    40 #else /* _HELENOS_NVERIFY_PRINTF */
    41 
    42 #define _HELENOS_PRINTF_ATTRIBUTE(start, end)
    43 
    44 #endif /* _HELENOS_NVERIFY_PRINTF */
     41#endif
    4542
    4643#endif
Note: See TracChangeset for help on using the changeset viewer.