Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.

Add missing function and definition documentation.
This commit is contained in:
Dean Camera 2011-09-22 05:55:32 +00:00
parent 022fa26b43
commit 77dbfd3cc4
17 changed files with 45 additions and 11 deletions

View file

@ -220,6 +220,8 @@
* etc.
*
* \param[in] Byte Byte of data whose bits are to be reversed.
*
* \return Input data with the individual bits reversed (mirrored).
*/
static inline uint8_t BitReverse(uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST;
static inline uint8_t BitReverse(uint8_t Byte)