Revert HERE and USED macros

This commit is contained in:
PikalaxALT
2021-03-15 08:33:37 -04:00
parent 37537e38f9
commit df9bed0548
3 changed files with 22 additions and 31 deletions
-9
View File
@@ -16,10 +16,8 @@
#if MODERN
#define NOINLINE __attribute__((noinline))
#define HERE __attribute__((no_reorder))
#else
#define NOINLINE
#define HERE
#endif
#define ALIGNED(n) __attribute__((aligned(n)))
@@ -96,13 +94,6 @@
// Some functions are strictly inline asm
#define NAKED __attribute__((naked))
// Silence IDE warnings
#if __GNUC__ >= 4
#define USED __attribute__((used))
#else
#define USED
#endif
#define UNUSED __attribute__((unused))
#endif // GUARD_GBA_DEFINES