prototypes with old style fn definition

Henry Rabinowitz henry at delftcc.UUCP
Sat Jul 9 02:18:51 AEST 1988


If I declare a prototype
	int f(int a);
and then in scope of the prototype, subsequently define the function using an 
old style definition:

	int f()
	char *p;
	{
		...
	}

will an ANSI compiler flag this as an incompatible declaration?  I would
hope so.
Please send responses by email.



More information about the Comp.lang.c mailing list