Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2013-02-08T16:04:52Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
2a5a7711
Parents:
711f5fb8
Message:

libusbvirt: Make pointer to handler array const.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/ctrltransfer.c

    r711f5fb8 r81da273b  
    5050 */
    5151int process_control_transfer(usbvirt_device_t *dev,
    52     usbvirt_control_request_handler_t *control_handlers,
     52    const usbvirt_control_request_handler_t *control_handlers,
    5353    const usb_device_request_setup_packet_t *setup,
    5454    uint8_t *data, size_t *data_sent_size)
     
    6060                return EFORWARD;
    6161        }
    62         usbvirt_control_request_handler_t *handler = control_handlers;
     62        const usbvirt_control_request_handler_t *handler = control_handlers;
    6363        for (;handler->callback != NULL; ++handler) {
    6464                if (handler->request != setup->request ||
Note: See TracChangeset for help on using the changeset viewer.