Changeset 0a7627b in mainline for uspace/drv/usbhid/usbhid.h


Ignore:
Timestamp:
2011-06-01T14:27:24Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
083adbc
Parents:
df29f24
Message:

Fixed warnings in hidreq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/usbhid.h

    rdf29f24 r0a7627b  
    5050typedef int (*usb_hid_driver_init_t)(struct usb_hid_dev *, void **data);
    5151typedef void (*usb_hid_driver_deinit_t)(struct usb_hid_dev *, void *data);
    52 typedef bool (*usb_hid_driver_poll)(struct usb_hid_dev *, void *data, uint8_t *,
     52typedef bool (*usb_hid_driver_poll_t)(struct usb_hid_dev *, void *data, uint8_t *,
    5353                                    size_t);
    54 typedef int (*usb_hid_driver_poll_ended)(struct usb_hid_dev *, void *data,
     54typedef int (*usb_hid_driver_poll_ended_t)(struct usb_hid_dev *, void *data,
    5555                                         bool reason);
    5656
     
    6161        usb_hid_driver_deinit_t deinit;
    6262        /** Function to be called when data arrives from the device. */
    63         usb_hid_driver_poll poll;
     63        usb_hid_driver_poll_t poll;
    6464        /** Function to be called when polling ends. */
    65         usb_hid_driver_poll_ended poll_end;
     65        usb_hid_driver_poll_ended_t poll_end;
    6666        /** Arbitrary data needed by the subdriver. */
    6767        void *data;
Note: See TracChangeset for help on using the changeset viewer.