Changeset d1974966 in mainline for uspace/app


Ignore:
Timestamp:
2013-01-05T13:29:21Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9399c0
Parents:
97663ee
Message:

libusbvirt: More const.

Location:
uspace/app/vuhid
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vuhid/device.c

    r97663ee rd1974966  
    6060static int on_data_to_device(usbvirt_device_t *dev,
    6161    usb_endpoint_t ep, usb_transfer_type_t tr_type,
    62     void *data, size_t data_size)
     62    const void *data, size_t data_size)
    6363{
    6464        vuhid_data_t *vuhid = dev->device_data;
  • uspace/app/vuhid/hids/bootkbd.c

    r97663ee rd1974966  
    102102
    103103static int on_data_out(vuhid_interface_t *iface,
    104     void *buffer, size_t buffer_size)
     104    const void *buffer, size_t buffer_size)
    105105{
    106106        if (buffer_size == 0) {
  • uspace/app/vuhid/virthid.h

    r97663ee rd1974966  
    7171
    7272        int (*on_data_in)(vuhid_interface_t *, void *, size_t, size_t *);
    73         int (*on_data_out)(vuhid_interface_t *, void *, size_t);
     73        int (*on_data_out)(vuhid_interface_t *, const void *, size_t);
    7474        void (*live)(vuhid_interface_t *);
    7575
Note: See TracChangeset for help on using the changeset viewer.