Ticket #64 (closed defect: fixed)
libusb invalidly uses reserved identifiers when naming variables, structs, etc.
|Reported by:||rogueresearch||Owned by:||segher|
The ISO/IEC 9899:1999 standard in Section 7.1.3, "Reserved Identifiers" describes how several naming schemes are reserved, notably "All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use."
libusb violates this in several places, ex:
- include guards like #define LIBUSB_THREADS_POSIX_H
- struct name: darwin_interface
- etc. etc.