Versions Compared

Key

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

...

Section 6.2.2 of the C standard [ISO/IEC 9899:2011] states:

If the declaration of a file scope identifier for an object or a function contains the storage-class specifier static, the identifier has internal linkage.

...

CERT C++ Secure Coding Standard: DCL15-CPP. Declare file-scope objects or functions that do not need external linkage in an unnamed namespace

ISO/IEC 9899:2011 Section  Section 6.2.2, "Linkages of identifiers"

...