]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
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)
committerskullydazed <skullydazed@users.noreply.github.com>
Tue, 11 Sep 2018 19:52:57 +0000 (12:52 -0700)
lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
lib/lufa/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
lib/lufa/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h
lib/lufa/LUFA/Drivers/USB/Class/Host/CDCClassHost.h

index ca63511b200046401b7edc84d543063fdc82bd69..920281be59dd8280171d67075e93836a6f445c13 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 9d5c4e5a0aa2ef281faf0ee85cc91becc9328827..f9a53851a5b412a1b780cfc8a4a6bb26f883ca28 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 802c5912d3d9d7b40d40a57bc5b85a16e5918c6c..5ac5279351365150c1beaee7923de973d154a92e 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 86ce6def3864724f577dde93cd6c186e417a82c4..f5cc4906ba13f1889ae3fdba44f16d1e4b58ec10 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);