ANSI C / "old" C / lint

terry jones terry at cogsci1.cogsci.indiana.edu
Mon Jan 7 10:27:21 AEST 1991


This has been discussed before I know, but I never paid too much
attention. Now someone has come to my room with 100K lines of stuff he
wants to put through lint...

So. Can anyone provide pointers to something to change function forward
declarations like

	extern void func(char *, int, long);
to
	extern void func();


His function definitions are old style however. e.g.

	void
	func(a, b)
	int a;
	char b;
	{...}


Alternatively, is there a version of lint out there that wont complain
about the above forward declarations?

Please MAIL me. 
I don't read comp.lang.c - if there is wider interest I'll summarize.

Thanks.
Terry Jones           (terry at cogsci.indiana.edu)



More information about the Comp.unix.questions mailing list