Skip to content

Commit

Permalink
Remove unneccesary ATTR_CONST from stub functions (thanks to NicoHood).
Browse files Browse the repository at this point in the history
  • Loading branch information
abcminiuser authored and skullydazed committed Sep 11, 2018
1 parent e9a67f8 commit c7e1b53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/lufa/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
#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);
Expand Down
2 changes: 1 addition & 1 deletion lib/lufa/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
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);
Expand Down
2 changes: 1 addition & 1 deletion lib/lufa/LUFA/Drivers/USB/Class/Host/CDCClassHost.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@
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);
Expand Down

0 comments on commit c7e1b53

Please sign in to comment.