Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as ATTR_NO_INLINE.

This commit is contained in:
László Monda 2014-01-05 00:33:08 +01:00
parent 6eba84bf4b
commit 5cae541545
2 changed files with 2 additions and 7 deletions

View File

@ -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,

View File

@ -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.
*/