Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.co.jp (Norman Diamond) Newsgroups: comp.std.c Subject: Omission re static linkage Message-ID: <10975@riks.csl.sony.co.jp> Date: 19 Oct 89 07:26:07 GMT Reply-To: diamond@ws.sony.junet (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 20 Consider the following program: void f1() { extern void f3(void); /* [1] */ } void f2() { static void f3(void); /* [2] */ } static void f3() { /* [3] */ } According to section 3.1.2.2, declarations [1] and [3] refer to the same identifier, and function f3 has internal linkage. However, the standard neglects to state what declaration [2] refers to. -- Norman Diamond, Sony Corp. (diamond%ws.sony.junet@uunet.uu.net seems to work) Should the preceding opinions be caught or | James Bond asked his killed, the sender will disavow all knowledge | ATT rep for a source of their activities or whereabouts. | licence to "kill".