Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as...
authorLászló Monda <laci@monda.hu>
Sat, 4 Jan 2014 23:33:08 +0000 (00:33 +0100)
committerLászló Monda <laci@monda.hu>
Sat, 4 Jan 2014 23:33:08 +0000 (00:33 +0100)
Bootloaders/MassStorage/Lib/VirtualFAT.h
LUFA/Common/Attributes.h

index c396897..af2b0c2 100644 (file)
 
        /* Function Prototypes: */
                #if defined(INCLUDE_FROM_VIRTUAL_FAT_C)
 
        /* 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,
 
                        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,
 
                        static void UpdateFAT12ClusterEntry(uint8_t* const FATTable,
                                                            const uint16_t Index,
index 201d6b9..95570ad 100644 (file)
                                 */
                                #define ATTR_NO_INLINE               __attribute__ ((noinline))
 
                                 */
                                #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.
                                 */
                                /** Forces the compiler to inline the specified function. When applied, the given function will be
                                 *  in-lined under all circumstances.
                                 */