Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Storage class conflicts and external linkage. Message-ID: <13628@smoke.BRL.MIL> Date: 20 Aug 90 18:44:28 GMT References: <697@garth.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 21 In article <697@garth.UUCP> baxter@garth.UUCP (Bill Baxter) writes: - foo ( ) - { - extern void foo1( void ); - } - static - foo1( ) - { - } The first declaration of "foo1" gives it external linkage, the second gives it internal linakge, thus the behavior is explicitly undefined. - However, the declaration only has block scope. That's not relevant. Linkage does not track scope. - In response to these questions I would like specific references to the - Draft standard. 3.1.2.2.