Article View: comp.std.c
Article #2755Look for SIGPLAN reference -- alternative prototype syntax
From: Ken Arnold
Date: Wed, 17 Apr 1991 00:20
Date: Wed, 17 Apr 1991 00:20
30 lines
1580 bytes
1580 bytes
Back in the general vicinity of 1983 (I believe) I read a SIGPLAN
article or letter in which someone proposed a prototype syntax that
used "..." to mean forward reference. I'm looking for this reference
and my SIGPLAN archives don't go back that far (if my journals went
back that far I'd have to buy a bigger house!). If anyone out there
knows who proposed the following or can get me closer to a valid
reference, I'd appreciate knowing (via email, of course).
The proposal would have prototypes look like definitions except that
instead of a function body they would have "{ ... }". For example:
void
qsort(base, num_ele, ele_width, compar)
void *base,
size_t num_ele, ele_width;
int (*compar)(void *, void *);
{ ... }
or getchar() (were it not a macro)
int
getchar() { ... }
I don't want to start a discussion about whether you like this proposal
or not -- I'm just trying to find a reference and hope that this
knowledgeable group might be able to help me, since I'm lost. Thanks
in advance -- we know return you to your regularly scheduled picayune
discussion.
Ken Arnold
Technical Details
Message-ID:
<51044031.20b6d@apollo.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!apollo!arnoldShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!apollo!arnold From: arnold@apollo.HP.COM (Ken Arnold) Newsgroups: comp.std.c Subject: Look for SIGPLAN reference -- alternative prototype syntax Message-ID: <51044031.20b6d@apollo.HP.COM> Date: 17 Apr 91 00:20:00 GMT Sender: root@apollo.HP.COM Reply-To: arnold@apollo.HP.COM (Ken Arnold) Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 30