libusb.h: Ensure that struct libusb_control_transfer is not padded
authorChris Dickens <christopher.a.dickens@gmail.com>
Thu, 16 Apr 2020 22:57:15 +0000 (15:57 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 16 Apr 2020 22:57:15 +0000 (15:57 -0700)
commite83f39ba6e0368d8b253a5f0b02bfd115763e0b4
tree167cc527b1bef03b777fe3b6a14aec68d75d0578
parent61c457a699d211848efcbe538d949768e01b1d32
libusb.h: Ensure that struct libusb_control_transfer is not padded

There is nothing explicitly preventing the compiler from adding any sort
of padding to the libusb_control_transfer structure. It does not seem
that any sane compiler would do so, but there is library functionality
that depends on this not happening. Address this by explicitly
instructing the compiler to pack the structure.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
doc/doxygen.cfg.in
libusb/libusb.h
libusb/version_nano.h