Fix lint for the new cpp. Lint is still broken in other ways, but
this at least allows the use of lint -i on single files again. Fiddled rcsid to satisfy commitprep.pl; the original NetBSD tag is still in the comments.
This commit is contained in:
parent
a7c517ceaf
commit
570080640e
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: xlint.c,v 1.3 1995/10/23 14:29:30 jpo Exp $";
|
||||
static char rcsid[] = "$FreeBSD$";
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -321,7 +321,6 @@ main(argc, argv)
|
||||
libsrchpath = xcalloc(1, sizeof (char *));
|
||||
|
||||
appcstrg(&cppflags, "-lang-c");
|
||||
appcstrg(&cppflags, "-undef");
|
||||
appcstrg(&cppflags, "-$");
|
||||
appcstrg(&cppflags, "-C");
|
||||
appcstrg(&cppflags, "-Wcomment");
|
||||
|
Loading…
Reference in New Issue
Block a user