Module Name:    src
Committed By:   rillig
Date:           Mon Aug  9 21:27:20 UTC 2021

Modified Files:
        src/usr.bin/xlint/xlint: xlint.c

Log Message:
lint: remove commented-out preprocessor options

These have been commented out since 2002.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/xlint/xlint/xlint.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/xlint/xlint.c
diff -u src/usr.bin/xlint/xlint/xlint.c:1.71 src/usr.bin/xlint/xlint/xlint.c:1.72
--- src/usr.bin/xlint/xlint/xlint.c:1.71	Sun Aug  8 16:19:18 2021
+++ src/usr.bin/xlint/xlint/xlint.c	Mon Aug  9 21:27:20 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: xlint.c,v 1.71 2021/08/08 16:19:18 rillig Exp $ */
+/* $NetBSD: xlint.c,v 1.72 2021/08/09 21:27:20 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: xlint.c,v 1.71 2021/08/08 16:19:18 rillig Exp $");
+__RCSID("$NetBSD: xlint.c,v 1.72 2021/08/09 21:27:20 rillig Exp $");
 #endif
 
 #include <sys/param.h>
@@ -341,18 +341,10 @@ main(int argc, char *argv[])
 	pass_to_cpp("-E");
 	pass_to_cpp("-x");
 	pass_to_cpp("c");
-#if 0
-	pass_to_cpp("-D__attribute__(x)=");
-	pass_to_cpp("-D__extension__(x)=/*NOSTRICT*/0");
-#else
 	pass_to_cpp("-U__GNUC__");
 	pass_to_cpp("-U__PCC__");
 	pass_to_cpp("-U__SSE__");
 	pass_to_cpp("-U__SSE4_1__");
-#endif
-#if 0
-	pass_to_cpp("-Wp,-$");
-#endif
 	pass_to_cpp("-Wp,-CC");
 	pass_to_cpp("-Wcomment");
 	pass_to_cpp("-D__LINT__");

Reply via email to