Add missing function attributes to the pipe/endpoint functions for all architectures.
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3 / Pipe_UC3.h
index 7edfb3e..bda3e8e 100644 (file)
                         *\r
                         *  \return The current pipe token, as a \c PIPE_TOKEN_* mask.\r
                         */\r
-                       static inline uint8_t Pipe_GetPipeToken(void) ATTR_ALWAYS_INLINE;\r
+                       static inline uint8_t Pipe_GetPipeToken(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;\r
                        static inline uint8_t Pipe_GetPipeToken(void)\r
                        {\r
                                return (&AVR32_USBB.UPCFG0)[USB_SelectedPipe].ptoken;\r
                         *\r
                         *  \return Total number of busy banks in the selected pipe.\r
                         */\r
+                       static inline uint8_t Pipe_GetBusyBanks(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;\r
                        static inline uint8_t Pipe_GetBusyBanks(void)\r
                        {\r
                                return (&AVR32_USBB.UPSTA0)[USB_SelectedPipe].nbusybk;\r