From df9bed0548bd6b9468894ab3e3711b423a1afaf1 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 15 Mar 2021 08:33:37 -0400 Subject: Revert HERE and USED macros --- include/gba/defines.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/gba/defines.h b/include/gba/defines.h index ce276862c..02d687ade 100644 --- a/include/gba/defines.h +++ b/include/gba/defines.h @@ -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 -- cgit v1.2.3