X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6933f2e1a543b066ebe734bd126a7ff2f1c2777f..cfe054474ffafddcbba0f6d3f46d3f02473fac96:/LUFA/Common/FunctionAttributes.h diff --git a/LUFA/Common/FunctionAttributes.h b/LUFA/Common/FunctionAttributes.h index cd406734d..9a293b619 100644 --- a/LUFA/Common/FunctionAttributes.h +++ b/LUFA/Common/FunctionAttributes.h @@ -37,6 +37,14 @@ * \note Do not include this file directly, rather include the Common.h header file instead to gain this file's * functionality. */ + +/** \ingroup Group_Common + * @defgroup Group_FuncAttr Function Attributes + * + * Macros for easy access GCC function attributes, which can be applied to function prototypes. + * + * @{ + */ #ifndef __FUNCATTR_H__ #define __FUNCATTR_H__ @@ -79,7 +87,7 @@ /** Prevents the compiler from considering a specified function for inlining. When applied, the given * function will not be inlined under any circumstances. */ - #define ATTR_NOINLINE __attribute__ ((noinline)) + #define ATTR_NO_INLINE __attribute__ ((noinline)) /** Forces the compiler to inline the specified function. When applied, the given function will be * inlined under all circumstances. @@ -108,3 +116,5 @@ #define ATTR_ALIAS(x) __attribute__ ((alias( #x ))) #endif + +/** @} */