diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-12 05:13:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-12 05:13:31 +0000 |
commit | 7207b0569529f5dcf180ec1d84d86c3f573168aa (patch) | |
tree | e57546d07b948e48c419413c54ade7f7d74a22d4 /LUFA/Drivers/USB/Class/Host/MIDI.h | |
parent | 065ed4da207173495d0a569b0f2973daebb841f0 (diff) | |
download | lufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.tar.gz lufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.tar.bz2 lufa-7207b0569529f5dcf180ec1d84d86c3f573168aa.zip |
Add missing function attributes.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/MIDI.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/MIDI.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/MIDI.h b/LUFA/Drivers/USB/Class/Host/MIDI.h index 28bdbfd3e..c4451b117 100644 --- a/LUFA/Drivers/USB/Class/Host/MIDI.h +++ b/LUFA/Drivers/USB/Class/Host/MIDI.h @@ -178,8 +178,10 @@ #if !defined(__DOXYGEN__) /* Function Prototypes: */ #if defined(__INCLUDE_FROM_MIDI_HOST_C) - static uint8_t DCOMP_MIDI_Host_NextMIDIStreamingInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1); - static uint8_t DCOMP_MIDI_Host_NextMIDIStreamingDataEndpoint(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1); + static uint8_t DCOMP_MIDI_Host_NextMIDIStreamingInterface(void* const CurrentDescriptor) + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(1); + static uint8_t DCOMP_MIDI_Host_NextMIDIStreamingDataEndpoint(void* const CurrentDescriptor) + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(1); #endif #endif |