Ignore:
Timestamp:
2018-01-13T14:57:38Z (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:
bd76871
Parents:
18bb198
Message:

Prefix PRINTF_ATTRIBUTE and NVERIFY_PRINTF macros with _HELENOS_ prefix,
because they are used in standard headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/printf/verify.h

    r18bb198 r09d13c8e  
    3636#define KERN_PRINTF_VERIFY_H_
    3737
    38 #ifndef NVERIFY_PRINTF
     38#ifndef _HELENOS_NVERIFY_PRINTF
    3939
    4040#ifdef __clang__
    41 #define PRINTF_ATTRIBUTE(start, end) \
     41#define _HELENOS_PRINTF_ATTRIBUTE(start, end) \
    4242        __attribute__((format(__printf__, start, end)))
    4343#else
    44 #define PRINTF_ATTRIBUTE(start, end) \
     44#define _HELENOS_PRINTF_ATTRIBUTE(start, end) \
    4545        __attribute__((format(gnu_printf, start, end)))
    4646#endif
    4747
    4848
    49 #else /* NVERIFY_PRINTF */
     49#else /* _HELENOS_NVERIFY_PRINTF */
    5050
    51 #define PRINTF_ATTRIBUTE(start, end)
     51#define _HELENOS_PRINTF_ATTRIBUTE(start, end)
    5252
    53 #endif /* NVERIFY_PRINTF */
     53#endif /* _HELENOS_NVERIFY_PRINTF */
    5454
    5555#endif
Note: See TracChangeset for help on using the changeset viewer.