Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Global variables Date: Sun, 06 May 2018 13:07:17 -0700 Organization: None to speak of Lines: 27 Message-ID: References: <1cb01b7e-fcfb-4c24-bec4-0602034b0fee@googlegroups.com> <54_FC.66716$ta2.4920@fx03.am4> <7371a825-33bc-4723-9ed7-18f23f55e76a@googlegroups.com> <66d56564-0b72-44b5-aba9-783e62eeed97@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="f99c42e1138a8c73b9677b033d51f90e"; logging-data="32040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Nque6En1Cb5OEvbmgBRaH" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:AWWcyMnO+UtE1n7zFl/+84M6LQ8= sha1:WgdPeTS3wBaG1MVs6IThFmTdtrU= Xref: csiph.com comp.lang.c:130271 Lew Pitcher writes: > David Brown wrote: > [snip] >> The C standards don't have anything to say about having multiple >> definitions (identical or otherwise) of a variable in a program. > > 6.7 Declarations > 3 If an identifier has no linkage, there shall be no more than one > ================ > declaration of the identifier (in a declarator or type specifier) with > the same scope and in the same name space, ... [27 lines deleted] >> Early [224 lines deleted] >> exported data.) Lew (and everyone else), please snip quoted text that you're not replying to. The end of your article consisted of about 226 lines of quoted text from the parent article that you didn't comment on. I had to skim through all of it to determine that there was no new material. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"