Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: do { quit; } else { } Date: Wed, 09 Apr 2025 14:44:39 -0700 Organization: None to speak of Lines: 34 Message-ID: <87ikndqabc.fsf@nosuchdomain.example.com> References: <8634enhcui.fsf@linuxsc.com> <86ldsdfocs.fsf@linuxsc.com> <20250406161323.00005809@yahoo.com> <86ecy5fjin.fsf@linuxsc.com> <20250406190321.000001dc@yahoo.com> <86plhodtsw.fsf@linuxsc.com> <20250407210248.00006457@yahoo.com> <20250409142303.00004645@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 09 Apr 2025 23:44:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="da68f73767d3cb351ac0b16ea7c85d0b"; logging-data="1572800"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3e/rZ81bDvh0QBfyPRZRf" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:4sSYDnhCNfq5HUyCdljgvPVZRRY= sha1:H3GYyesfbu2D6k8YhNhVZtU39uI= Xref: csiph.com comp.lang.c:392291 Michael S writes: > On Wed, 9 Apr 2025 12:58:08 +0200 > Janis Papanagnou wrote: > >> On 09.04.2025 11:42, David Brown wrote: >> > On 08/04/2025 18:28, bart wrote: >> >> [...] >> > >> > I believe the meaning of "extern" in combination with other >> > storage-class specifiers was picked to work with existing old code >> > from before "extern" was added to the language. >> >> Assuming you mean the "C" language I don't quite understand the last >> part of the sentence. Wasn't 'extern' already in "K&R" - so what was >> "the language" before the addition of 'extern'? >> >> Or did you just mean to say "[...] before _combinations_ of 'extern' >> and other storage-class specifier were added to the language." >> >> Janis, puzzled > > K&R was published in 1978, 5 years after C got its first users. > Back in 1973-74 C language was significantly different from what it > became few years later. The earliest C reference I have is cman74.pdf, currently at . It includes "extern" in the list of keywords. It was inherited from B, which had "extrn" as a keyword as of 1972. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */