If an object or a function does not need to be visible outside the current scope, it should be hidden by being declared as static
. This creates more modular code and limits pollution of the global name space. If the compilation unit implements a data abstraction, it may also expose invocations of private functions from outside the abstraction.
Wiki Markup |
---|
Section 6.2.2 of C99 \[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] states that |
...