diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-01-04 16:31:49 -0800 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-01-04 16:31:49 -0800 |
commit | 161263af475a9f1ea4ded0a6ee2858281ffc5624 (patch) | |
tree | 94408f06a354042cb7f797a83c731917ce191966 | |
parent | e368a899871fe9ecccdcac85019d15c73e13ced7 (diff) | |
parent | 5cae54154506176d64a581c5b3d9550c901b570c (diff) | |
download | lufa-161263af475a9f1ea4ded0a6ee2858281ffc5624.tar.gz lufa-161263af475a9f1ea4ded0a6ee2858281ffc5624.tar.bz2 lufa-161263af475a9f1ea4ded0a6ee2858281ffc5624.zip |
Merge pull request #19 from mondalaci/attr-no-inline-cleanup
Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the...
-rw-r--r-- | Bootloaders/MassStorage/Lib/VirtualFAT.h | 4 | ||||
-rw-r--r-- | LUFA/Common/Attributes.h | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/Bootloaders/MassStorage/Lib/VirtualFAT.h b/Bootloaders/MassStorage/Lib/VirtualFAT.h index c9fac9736..380132c53 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 b86f92c46..dc5c6be4c 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. */ |