parameter names in prototypes

Karl Heuer karl at ima.isc.com
Fri Dec 14 17:41:12 AEST 1990


In article <AUVBARN.90Dec12185342 at auvc5.tamu.edu> auvbarn at auvc5.tamu.edu (David Barnett) writes:
>[Is `int foo(int a, int );' legal?  Saber-C rejects it], and I need to know
>whether to complain to [the header file's] vendor or to Saber-C.)

Complain to both.  Saber-C should accept it, since it's legal; and the vendor
shouldn't be using it, because it's inferior to *both* alternatives.

Karl W. Z. Heuer (karl at ima.isc.com or uunet!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list