Wanted--better way to please lint and sccs

Randy King rjk at mgweed.UUCP
Mon Mar 5 12:08:31 AEST 1984


I have used the following to shut up lint and include data space
declarations of the SCCS keywords:

#define	SCCSID(x)	atoi(x)

main()
{
	SCCSID("%A% %M%");
	.
	.
}

Note that this does take some process time; keep it out of recursive
calls.  I looked for the most harmless of functions for this task
and atoi seemed to fit the bill.
						Randy King
						AT&T/CP-MG
						ihnp4!mgweed!rjk



More information about the Comp.lang.c mailing list