🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4064

Re: Identifiers in definitions

#4064
From: Adam Winer
Date: Thu, 21 Sep 1995 01:40
32 lines
1368 bytes
In article <43ph0p$g4p@Radon.Stanford.EDU>, becker@Xenon.Stanford.EDU
(Denizen of the Deep) wrote:

> In article <43p9bn$l6l@newshost.lanl.gov>,
> Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov> wrote:
> >In article <awiner-1909952245190001@awiner-mac2.us.oracle.com>,
> >awiner@oracle.com (Adam Winer) writes: 
> >
> >|> the following code legit:
> >|> 
> >|> int foo(int /* a */, int b);
> >
> >No. 
> 
> Though it's not a definition, this looks like a perfectly valid
> declaration to me.

Please note that I wrote:

int foo(int /* a */, int b);

int foo(int /* a */, int b)
{
  /* do some stuff, obviously without using a */
}

I only provided the declaration because I'm stupendously
anal about providing prototypes.  I know the declaration's
totally legit, but I was asking about the definition.

-- Adam Winer
awiner@us.oracle.com
Technical Details
Message-ID: <awiner-2009951740040001@awiner-mac2.us.oracle.com>
Path: arc1-ca.pugleaf.net!awiner-mac2.us.oracle.com!user
References: <awiner-1909952245190001@awiner-mac2.us.oracle.com> <43p9bn$l6l@newshost.lanl.gov> <43ph0p$g4p@Radon.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!awiner-mac2.us.oracle.com!user
From: awiner@oracle.com (Adam Winer)
Newsgroups: comp.std.c
Subject: Re: Identifiers in definitions
Date: Wed, 20 Sep 1995 17:40:04 -0800
Organization: Oracle Corporation
Message-ID: <awiner-2009951740040001@awiner-mac2.us.oracle.com>
References: <awiner-1909952245190001@awiner-mac2.us.oracle.com> <43p9bn$l6l@newshost.lanl.gov> <43ph0p$g4p@Radon.Stanford.EDU>
NNTP-Posting-Host: awiner-mac2.us.oracle.com
X-Newsreader: Value-Added NewsWatcher 2.0b27.1+