Add const attribute to class driver APIs.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / MIDI.h
index 99e8ea1..b86699e 100644 (file)
 \r
                /* Function Prototypes: */\r
                        #if defined(INCLUDE_FROM_MIDI_CLASS_HOST_C)\r
-                               static uint8_t DComp_MIDI_Host_NextMIDIStreamingInterface(void* CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);\r
-                               static uint8_t DComp_MIDI_Host_NextMIDIStreamingDataEndpoint(void* CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);\r
+                               static uint8_t DComp_MIDI_Host_NextMIDIStreamingInterface(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);\r
+                               static uint8_t DComp_MIDI_Host_NextMIDIStreamingDataEndpoint(void* const CurrentDescriptor) ATTR_NON_NULL_PTR_ARG(1);\r
                        #endif  \r
        #endif\r
                                \r