Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/request.h

    r8d2dd7f2 r90c340fb  
    3737
    3838#include <stdint.h>
     39#include <assert.h>
    3940
    4041/** Standard device request. */
     
    107108} __attribute__ ((packed)) usb_device_request_setup_packet_t;
    108109
    109 int assert[(sizeof(usb_device_request_setup_packet_t) == 8) ? 1: -1];
     110static_assert(sizeof(usb_device_request_setup_packet_t) == 8);
    110111
    111112int usb_request_needs_toggle_reset(
Note: See TracChangeset for help on using the changeset viewer.