Undefined static function
Guy Harris
guy at sun.uucp
Mon Jun 24 05:38:03 AEST 1985
> Every declaration which is outside the definition of any function
> declares an extern static something, even with "extern" or "static"
> or both omitted.
False. See 11.2 "Scope of externals":
Identifiers declared "static" at the top level in external
definitions are not visible in other files.
Any declaration outside the definition of any function with "static" omitted
declares an "extern" something, which is static in the sense of not being
"auto" but not static in the sense of being "static"; it's visible in other
files.
Guy Harris
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list