From: László Monda Date: Sat, 4 Jan 2014 23:33:08 +0000 (+0100) Subject: Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as... X-Git-Tag: LUFA-140302~19^2 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/5cae54154506176d64a581c5b3d9550c901b570c?hp=6eba84bf4bd23978068f4aef2ba53447dd8a98db Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as ATTR_NO_INLINE. --- diff --git a/Bootloaders/MassStorage/Lib/VirtualFAT.h b/Bootloaders/MassStorage/Lib/VirtualFAT.h index c396897ba..af2b0c238 100644 --- a/Bootloaders/MassStorage/Lib/VirtualFAT.h +++ b/Bootloaders/MassStorage/Lib/VirtualFAT.h @@ -274,10 +274,10 @@ /* Function Prototypes: */ #if defined(INCLUDE_FROM_VIRTUAL_FAT_C) - static uint8_t ReadEEPROMByte(const uint8_t* const Address) ATTR_NEVER_INLINE; + static uint8_t ReadEEPROMByte(const uint8_t* const Address) ATTR_NO_INLINE; static void WriteEEPROMByte(uint8_t* const Address, - const uint8_t Data) ATTR_NEVER_INLINE; + const uint8_t Data) ATTR_NO_INLINE; static void UpdateFAT12ClusterEntry(uint8_t* const FATTable, const uint16_t Index, diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h index 201d6b927..95570ad86 100644 --- a/LUFA/Common/Attributes.h +++ b/LUFA/Common/Attributes.h @@ -90,11 +90,6 @@ */ #define ATTR_NO_INLINE __attribute__ ((noinline)) - /** Forces the compiler to never inline the specified function. When applied, the given function will be - * always be called explicitly under all circumstances. - */ - #define ATTR_NEVER_INLINE __attribute__ ((noinline)) - /** Forces the compiler to inline the specified function. When applied, the given function will be * in-lined under all circumstances. */