X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/071e02c6b6b4837fa9cf0b6d4c749994e02638d7..12fb68ea1fd3b87c748de5d22c816a086b41cff9:/LUFA/Common/Attributes.h?ds=inline diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h index a3247b0c7..bcac84c7b 100644 --- a/LUFA/Common/Attributes.h +++ b/LUFA/Common/Attributes.h @@ -32,7 +32,7 @@ * \brief AVR-GCC special function/variable attribute macros. * * This file contains macros for applying GCC specific attributes to functions and variables to control various - * optimizer and code generation features of the compiler. Attributes may be placed in the function prototype + * optimiser and code generation features of the compiler. Attributes may be placed in the function prototype * or variable declaration in any order, and multiple attributes can be specified for a single item via a space * separated list. * @@ -124,15 +124,15 @@ /** Places the function in one of the initialization sections, which execute before the main function * of the application. Refer to the avr-libc manual for more information on the initialization sections. * - * \param[in] x Initialization section number where the function should be placed + * \param[in] SectionIndex Initialization section number where the function should be placed. */ - #define ATTR_INIT_SECTION(x) __attribute__ ((naked, section (".init" #x ))) + #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((naked, section (".init" #SectionIndex ))) /** Marks a function as an alias for another function. * - * \param[in] x Name of the function which the given function name should alias + * \param[in] Func Name of the function which the given function name should alias. */ - #define ATTR_ALIAS(x) __attribute__ ((alias( #x ))) + #define ATTR_ALIAS(Func) __attribute__ ((alias( #Func ))) #endif /** @} */