linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: root@chaos.analogic.com
Cc: Franz.Sirl-kernel@lauterbach.com (Franz Sirl),
	andrea@suse.de (Andrea Arcangeli), mblack@csihq.com (Mike Black),
	linux-kernel@vger.kernel.org (linux-kernel@vger.kernel.or)
Subject: Re: 2.2.18 signal.h
Date: Fri, 15 Dec 2000 18:50:21 +0000 (GMT)	[thread overview]
Message-ID: <E146zw1-0001fh-00@the-village.bc.nu> (raw)
In-Reply-To: <Pine.LNX.3.95.1001215131538.1528B-100000@chaos.analogic.com> from "Richard B. Johnson" at Dec 15, 2000 01:34:41 PM

> 	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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-15 19:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-15 16:29 2.2.18 signal.h Mike Black
2000-12-15 16:56 ` Andrea Arcangeli
2000-12-15 17:07   ` Richard B. Johnson
2000-12-15 17:43     ` Andrea Arcangeli
2000-12-15 17:59   ` Franz Sirl
2000-12-15 18:34     ` Richard B. Johnson
2000-12-15 18:50       ` Alan Cox [this message]
2000-12-15 19:06       ` Horst von Brand
2000-12-15 20:15         ` Michael Meissner
2000-12-15 18:54     ` Andrea Arcangeli
2000-12-15 19:18       ` Ulrich Drepper
2000-12-15 19:57         ` Andrea Arcangeli
2000-12-15 20:09           ` Rik van Riel
2000-12-15 20:22             ` Andrea Arcangeli
2000-12-16  7:53           ` Anuradha Ratnaweera
2000-12-16 13:52             ` Andrea Arcangeli
2000-12-19 16:53               ` Michael Meissner
2000-12-15 19:55       ` Rik van Riel
2000-12-15 20:14         ` Andrea Arcangeli
2000-12-21 18:18           ` Thomas Dodd
2001-01-02 16:55             ` Andrea Arcangeli
2000-12-15 20:31       ` Michael Meissner
2000-12-17  5:27         ` Albert D. Cahalan
2000-12-15 21:56 Jesse Pollard
2000-12-15 22:22 ` Andrea Arcangeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E146zw1-0001fh-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=Franz.Sirl-kernel@lauterbach.com \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mblack@csihq.com \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).