Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/poll.h

    rb7fd2a0 r8d2dd7f2  
    8787         * @return Whether to continue in polling.
    8888         */
    89         bool (*on_error)(usb_device_t *dev, errno_t err_code, void *arg);
     89        bool (*on_error)(usb_device_t *dev, int err_code, void *arg);
    9090        /** Argument to pass to callbacks. */
    9191        void *arg;
     
    9595typedef void (*usb_polling_terminted_callback_t)(usb_device_t *, bool, void *);
    9696
    97 extern errno_t usb_device_auto_polling(usb_device_t *, usb_endpoint_t,
     97extern int usb_device_auto_polling(usb_device_t *, usb_endpoint_t,
    9898    const usb_device_auto_polling_t *, size_t);
    9999
    100 extern errno_t usb_device_auto_poll(usb_device_t *, usb_endpoint_t,
     100extern int usb_device_auto_poll(usb_device_t *, usb_endpoint_t,
    101101    usb_polling_callback_t, size_t, int, usb_polling_terminted_callback_t, void *);
    102102
    103 extern errno_t usb_device_auto_polling_desc(usb_device_t *,
     103extern int usb_device_auto_polling_desc(usb_device_t *,
    104104    const usb_endpoint_description_t *, const usb_device_auto_polling_t *,
    105105    size_t);
    106106
    107 extern errno_t usb_device_auto_poll_desc(usb_device_t *,
     107extern int usb_device_auto_poll_desc(usb_device_t *,
    108108    const usb_endpoint_description_t *, usb_polling_callback_t, size_t, int,
    109109    usb_polling_terminted_callback_t, void *);
Note: See TracChangeset for help on using the changeset viewer.