Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
d8e0d67c
Commit
d8e0d67c
authored
Jun 17, 2018
by
Dean Camera
Browse files
Remove unneccesary ATTR_CONST from stub functions (thanks to NicoHood).
parent
6447bda0
Changes
5
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
View file @
d8e0d67c
...
...
@@ -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
);
...
...
LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
View file @
d8e0d67c
...
...
@@ -370,7 +370,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
);
...
...
LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h
View file @
d8e0d67c
...
...
@@ -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
);
...
...
LUFA/Drivers/USB/Class/Host/CDCClassHost.h
View file @
d8e0d67c
...
...
@@ -368,7 +368,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
);
...
...
LUFA/Drivers/USB/Core/Events.h
View file @
d8e0d67c
...
...
@@ -331,7 +331,7 @@
#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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment