If a function has internal linkage then all re-declarations shall include the static storage class specifier
If a function has internal linkage then all re-declarations shall include the static storage class specifier.
If a function declaration has the static storage class
specifier, it has internal linkage. Subsequent redeclarations of the function have
internal linkage even without the static specifier.
However, if you do not specify the static keyword explicitly,
it is not immediately clear from a declaration whether the function has internal
linkage.
If you expect a rule violation but do not see it, refer to Coding Standard Violations Not Displayed.
| Group: Basic Concepts |
| Category: Required |