Misc: Refactor zero-length array declarations
authorChris Dickens <christopher.a.dickens@gmail.com>
Wed, 5 Jul 2017 20:09:29 +0000 (13:09 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 6 Jul 2017 21:26:46 +0000 (14:26 -0700)
commitcb216b4c96a370bf5005b212919aeef87446d8fe
treeff48248afda6038a6c0e818b2a3e5272cd4468fc
parente59e437a1fed20c2e363154b6e9639b88f549bd7
Misc: Refactor zero-length array declarations

Instead of checking for __STDC_VERSION__ at every instance, define a
ZERO_SIZED_ARRAY macro that has the appropriate definition and use that
everywhere it is needed.

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