Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
languagec
/* 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 StandardARR31-C. Use consistent array notation across all source files
ISO/IEC TS 17961 (Draft)Declaring the same function or object in incompatible ways [funcdecl]

...