Ignore unused arguments in a more standard way

This commit is contained in:
ISSOtm
2020-02-26 14:28:11 +01:00
parent 361d6cf517
commit 5bc8d51a9e
3 changed files with 6 additions and 4 deletions

View File

@@ -14,7 +14,6 @@
#define format_(archetype, str_index, first_arg) \
__attribute__ ((format (archetype, str_index, first_arg)))
#define noreturn_ __attribute__ ((noreturn))
#define unused_ __attribute__ ((unused))
#define trap_ __builtin_trap()
#else
/* Unsupported, but no need to throw a fit */