schmidt@siam.ics.uci.edu (Doug Schmidt) (02/26/89)
Hi, 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); ---------------------------------------- I realize this seems like a silly thing to do, but I've actually found a good use for it under certain pathological circumstances... thanks, Doug -- schmidt@ics.uci.edu (ARPA) | Per me si va nella citta' dolente. office: (714) 856-4043 | Per me si va nell'eterno dolore. | Per me si va tra la perduta gente. | Lasciate ogni speranza o voi ch'entrate.
gwyn@smoke.BRL.MIL (Doug Gwyn ) (02/26/89)
In article <8249@paris.ics.uci.edu> Doug Schmidt <schmidt@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.