Versions Compared

Key

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

If a file-scope object or a function does not need to be visible outside of the file, it should be hidden by being declared as static. This creates more modular code and limits pollution of the global name space.

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

...

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

...

 

...