Syntax of function prototypes...

Larry Jones scjones at sdrc.UUCP
Mon Aug 22 02:56:09 AEST 1988


In article <13114 at mimsy.UUCP>, chris at mimsy.UUCP (Chris Torek) writes:
> [ not allowing "int foo(...);" is a mistake ]

The reason that form is disallowed is because the <stdarg.h> macros require
the last argument before the ellipsis as an argument.  The reason the macros
require it is because some implimentors insisted they could not do varargs
without it.

----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones at sdrc
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150                  AT&T: (513) 576-2070
Nancy Reagan on superconductivity: "Just say mho."



More information about the Comp.lang.c mailing list