Remove unneccesary ATTR_CONST from stub functions (thanks to NicoHood).
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 17 Jun 2018 05:44:28 +0000 (15:44 +1000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 17 Jun 2018 05:44:28 +0000 (15:44 +1000)
LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h
LUFA/Drivers/USB/Class/Host/CDCClassHost.h
LUFA/Drivers/USB/Core/Events.h

index d182b4b..c03f4b7 100644 (file)
        #if !defined(__DOXYGEN__)
                /* Function Prototypes: */
                        #if defined(__INCLUDE_FROM_AUDIO_DEVICE_C)
-                               void Audio_Device_Event_Stub(void) ATTR_CONST;
+                               void Audio_Device_Event_Stub(void);
 
                                void EVENT_Audio_Device_StreamStartStop(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo)
                                                                        ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(Audio_Device_Event_Stub);
index 6fea691..318920f 100644 (file)
                                static int CDC_Device_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1);
                                #endif
 
-                               void CDC_Device_Event_Stub(void) ATTR_CONST;
+                               void CDC_Device_Event_Stub(void);
 
                                void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo)
                                                                          ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(CDC_Device_Event_Stub);
index b23a782..036a04b 100644 (file)
                                static int PRNT_Device_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1);
                                #endif
 
-                               void PRNT_Device_Event_Stub(void) ATTR_CONST;
+                               void PRNT_Device_Event_Stub(void);
 
                                void EVENT_PRNT_Device_SoftReset(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo)
                                                                 ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(PRNT_Device_Event_Stub);
index e5dba5d..c933e3a 100644 (file)
                                static int CDC_Host_getchar_Blocking(FILE* Stream) ATTR_NON_NULL_PTR_ARG(1);
                                #endif
 
-                               void CDC_Host_Event_Stub(void) ATTR_CONST;
+                               void CDC_Host_Event_Stub(void);
 
                                void EVENT_CDC_Host_ControLineStateChanged(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo)
                                                                           ATTR_WEAK ATTR_NON_NULL_PTR_ARG(1) ATTR_ALIAS(CDC_Host_Event_Stub);
index 9ee7866..c82245f 100644 (file)
        #if !defined(__DOXYGEN__)
                /* Function Prototypes: */
                        #if defined(__INCLUDE_FROM_EVENTS_C)
-                               void USB_Event_Stub(void) ATTR_CONST;
+                               void USB_Event_Stub(void);
 
                                #if defined(USB_CAN_BE_BOTH)
                                        void EVENT_USB_UIDChange(void) ATTR_WEAK ATTR_ALIAS(USB_Event_Stub);