Use of keyword ``auto'' in function prototypes

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Feb 26 12:39:32 AEST 1989


In article <8249 at paris.ics.uci.edu> Doug Schmidt <schmidt at siam.ics.uci.edu> writes:
>   Can someone ``in the know'' please inform me whether ANSI C *forbids*
>the appearance of the keyword ``auto'' in function prototypes, i.e.:
>int foo (auto int bar);

If a parameter declaration includes a storage class specifier,
it must be "register".  The storage class specifier is ignored if
the declaration is not part of the function definition.



More information about the Comp.lang.c mailing list