Make sure that included header file names are unique. According to the C Standard, section 6.10.2, paragraph 5 [ISO/IEC 9899:2011],
The implementation shall provide unique mappings for sequences consisting of one or more nondigits or digits (6.4.2.1) followed by a period (.) and a single nondigit. The first character shall not be a digit. The implementation may ignore distinctions of alphabetical case and restrict the mapping to eight significant characters before the period.
...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
| IF_DUPL_HEADER | ||||||||
| hedrname | Fully implemented | |||||||
PRQA QA-C |
| Secondary Analysis | Fully implemented |
Related Vulnerabilities
...
ISO/IEC 9899:2011 Section 6.10.2, "Source file inclusion"
MISRA Rule 19.5
...