Remove unused attributes

This commit is contained in:
Clownacy 2020-06-30 13:00:34 +01:00
parent 3d7ee30314
commit 2970242ff7

View file

@ -12,10 +12,6 @@
#ifdef __GNUC__
#define ATTRIBUTE_FORMAT(archetype, formatArgumentIndex, firstToCheck) __attribute__((format(archetype, formatArgumentIndex, firstToCheck)))
#define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define ATTRIBUTE_MALLOC __attribute__((malloc))
#define ATTRIBUTE_NONNULL(...) __attribute__((nonnull(__VA_ARGS__)))
#define ATTRIBUTE_HOT __attribute__((hot))
#define LIKELY(condition) __builtin_expect((condition), 1)
#define UNLIKELY(condition) __builtin_expect((condition), 0)
@ -23,10 +19,6 @@
#else
#define ATTRIBUTE_FORMAT(archetype, stringIndex, firstToCheck)
#define ATTRIBUTE_WARN_UNUSED_RESULT
#define ATTRIBUTE_MALLOC
#define ATTRIBUTE_NONNULL
#define ATTRIBUTE_HOT
#define LIKELY(condition) condition
#define UNLIKELY(condition) condition