Ignore:
Timestamp:
2018-01-11T04:12:06Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0892663a
Parents:
a6c4597
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-11 01:31:42)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-11 04:12:06)
Message:

usbhost: made device_remove and endpoint_unregister noexcept

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/bus.h

    ra6c4597 rbad4a05  
    103103        /* Operations on device */
    104104        int (*device_enumerate)(device_t *);
    105         int (*device_remove)(device_t *);
     105        void (*device_remove)(device_t *);
    106106        int (*device_online)(device_t *);                       /**< Optional */
    107107        int (*device_offline)(device_t *);                      /**< Optional */
     
    110110        /* Operations on endpoint */
    111111        int (*endpoint_register)(endpoint_t *);
    112         int (*endpoint_unregister)(endpoint_t *);
     112        void (*endpoint_unregister)(endpoint_t *);
    113113        void (*endpoint_destroy)(endpoint_t *);                 /**< Optional */
    114114        void (*endpoint_toggle_reset)(endpoint_t *);            /**< Optional */
     
    117117
    118118        /* Operations on batch */
     119        int (*batch_schedule)(usb_transfer_batch_t *);
    119120        void (*batch_destroy)(usb_transfer_batch_t *);          /**< Optional */
    120         int (*batch_schedule)(usb_transfer_batch_t *);
    121121};
    122122
     
    149149
    150150int bus_device_enumerate(device_t *);
    151 int bus_device_remove(device_t *);
     151void bus_device_remove(device_t *);
    152152
    153153int bus_device_online(device_t *);
Note: See TracChangeset for help on using the changeset viewer.