Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with...
[pub/USBasp.git] / LUFA / Common / Attributes.h
index d6722a2..7ee6413 100644 (file)
                         *
                         *  \param[in] SectionIndex  Initialization section number where the function should be placed.
                         */
-                       #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((naked, section (".init" #SectionIndex )))
+                       #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((used, naked, section (".init" #SectionIndex )))
 
                        /** Marks a function as an alias for another function.
                         *