> void foo()
> {
> extern int a;
> if(a) goto a;
> return;
> a:
> printf("%d\n", a);
> }
>
> Both examples allow an extern declaration inside a function scope
> which is also contrary to any (even old) 'C' standards. 'extern'
> is always file scope, there's no way to make it otherwise.
extern in function scope is in original C. In fact its even _older_ than that
its in the B compiler too - although in B its 'extrn' not 'extern'.
Alan (yes I programmed in B)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- 2.2.18 signal.h Mike Black
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Richard B. Johnson
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Franz Sirl
- Re: 2.2.18 signal.h Richard B. Johnson
- Re: 2.2.18 signal.h Alan Cox
- Re: 2.2.18 signal.h Horst von Brand
- Re: 2.2.18 signal.h Michael Meissner
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Ulrich Drepper
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Rik van Riel
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Anuradha Ratnaweera
- Re: 2.2.18 signal.h Andrea Arcangeli
- Re: 2.2.18 signal.h Michael Meissner

