Add missing function attributes to the pipe/endpoint functions for all architectures.
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3 / Device_UC3.h
index 2a029bf..ed74098 100644 (file)
                        /** Returns the current USB frame number, when in device mode. Every millisecond the USB bus is active (i.e. enumerated to a host)\r
                         *  the frame number is incremented by one.\r
                         */\r
+                       static inline uint16_t USB_Device_GetFrameNumber(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;\r
                        static inline uint16_t USB_Device_GetFrameNumber(void)\r
                        {\r
                                return AVR32_USBB.UDFNUM.fnum;\r
                                AVR32_USBB.UDCON.adden = true;\r
                        }\r
 \r
-                       static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE;\r
+                       static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;\r
                        static inline bool USB_Device_IsAddressSet(void)\r
                        {\r
                                return AVR32_USBB.UDCON.adden;\r