Re: Global variables defined several times.

2000-07-05 Thread Warner Losh
In message <[EMAIL PROTECTED]> David Malone writes: : I can't find my second edition at the moment. This behavior is : commented on in the C FAQ as something the ANSI standard describes : as a common extension. (http://www.eskimo.com/~scs/C-faq/q1.7.html) : It also seems to suggest it is mostly a

Re: Global variables defined several times.

2000-07-03 Thread David Malone
> In message <[EMAIL PROTECTED]>, David Malone writes: > >I've just noticed that usr.bin/ftp/ftp_var.h defines a large > >selection of global variables, and then this header file is included > >in multiple C source files. > > > >I thought this should lead to one copy of the global varible per > >s

Re: Global variables defined several times.

2000-07-03 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, David Malone writes: >I've just noticed that usr.bin/ftp/ftp_var.h defines a large >selection of global variables, and then this header file is included >in multiple C source files. > >I thought this should lead to one copy of the global varible per >source file, an