...
Code Block | ||||
---|---|---|---|---|
| ||||
/* a.c: */ int x = 0; /* The definition */ /* b.c: */ extern char x; /* Incompatible declaration */ /* but no other references to x */ |
Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
DCL40-C | low | unlikely | medium | P2 | L3 |
Related Guidelines
CERT C Secure Coding Standard | ARR31-C. Use consistent array notation across all source files |
ISO/IEC TS 17961 (Draft) | Declaring the same function or object in incompatible ways [funcdecl] |
...