ANSI C: question re: prototypes

matt at prism.UUCP matt at prism.UUCP
Tue Dec 3 02:13:00 AEST 1985


In reading the current (November 11) ANSI draft, I came up with the
following question.  Suppose one has a function which takes 2 integers and a
pointer to struct foo as arguments.  The following would be a legal function
declaration or prototype:

	long	mumble (int x, int y, struct foo *z)

What about this?  Would it also be legal in ANSI C?

	long	mumble (int x, y, struct foo *z)

------------------------------------------------------------------------------
 Matt Landau      	 {cca, ihnp4!inmet, mit-eddie, wjh12} !mirror!matt
 Mirror Systems, Inc.	 2076 Massachusetts Avenue
			 Cambridge, MA   02140
------------------------------------------------------------------------------



More information about the Comp.lang.c mailing list