Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris
From: chris@umcp-cs.UUCP (Chris Torek)
Newsgroups: net.unix-wizards
Subject: Re: Auto-configuring software -- potential problems
Message-ID: <336@umcp-cs.UUCP>
Date: Sat, 13-Oct-84 00:18:13 EDT
Article-I.D.: umcp-cs.336
Posted: Sat Oct 13 00:18:13 1984
Date-Received: Sun, 14-Oct-84 04:45:49 EDT
References: <421@ogcvax.UUCP> <550@burl.UUCP>
Organization: U of Maryland, Computer Science Dept., College Park, MD
Lines: 19

Rather than ``char *FOO = "%R% %W% ..."'' (in file foo.c), I always use

	#ifndef lint
	static char rcsid[] = "$Header$";
	#endif lint

(obviously I use RCS, not SCCS).  This has a couple of advantages:

	- lint won't complain about the ``unused'' variable
	- the name can't possibly conflict with another since it's local
	  to the particular source file
	- the file will even make it through the V6 cpp (not that any of
	  my source would run on V6...).
-- 
(This mind accidently left blank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland