Doxygen: Fix warnings about undocumented compounds
authorChris Dickens <christopher.a.dickens@gmail.com>
Fri, 28 Aug 2020 22:42:41 +0000 (15:42 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 13 Sep 2020 07:09:32 +0000 (00:09 -0700)
commita6bfd45deab1e9550a7e7f8bf618b484da7e2816
tree512a9d287ec4d6f656280bdc163e6bb16d7f2ac5
parentccba488d11e373078aba7b086e3824417b31f67e
Doxygen: Fix warnings about undocumented compounds

Commit fa3f91e7c4 ("descriptor: Miscellaneous improvements to the
overall source") introduced some union types, however since descriptor.c
is parsed by Doxygen it will complain with the following warnings:

  libusb/descriptor.c:49: warning: Compound string_desc_buf is not documented.
  libusb/descriptor.c:55: warning: Compound bos_desc_buf is not documented.
  libusb/descriptor.c:43: warning: Compound config_desc_buf is not documented.

Fix this by moving the union definitions into libusbi.h.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/descriptor.c
libusb/libusbi.h
libusb/version_nano.h