Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint lint: use __RCSID in lint mode as well



details:   https://anonhg.NetBSD.org/src/rev/ce966036f94c
branches:  trunk
changeset: 366259:ce966036f94c
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri May 20 21:18:54 2022 +0000

description:
lint: use __RCSID in lint mode as well

Since 1995-10-02, lint supports __asm statements and __asm modifiers.

No binary change.

diffstat:

 usr.bin/xlint/common/emit.c    |  6 +++---
 usr.bin/xlint/common/inittyp.c |  6 +++---
 usr.bin/xlint/common/mem.c     |  6 +++---
 usr.bin/xlint/common/tyname.c  |  6 +++---
 usr.bin/xlint/lint1/cgram.y    |  6 +++---
 usr.bin/xlint/lint1/ckbool.c   |  6 +++---
 usr.bin/xlint/lint1/ckctype.c  |  6 +++---
 usr.bin/xlint/lint1/ckgetopt.c |  6 +++---
 usr.bin/xlint/lint1/debug.c    |  6 +++---
 usr.bin/xlint/lint1/decl.c     |  6 +++---
 usr.bin/xlint/lint1/emit1.c    |  6 +++---
 usr.bin/xlint/lint1/err.c      |  6 +++---
 usr.bin/xlint/lint1/func.c     |  6 +++---
 usr.bin/xlint/lint1/init.c     |  6 +++---
 usr.bin/xlint/lint1/lex.c      |  6 +++---
 usr.bin/xlint/lint1/main1.c    |  6 +++---
 usr.bin/xlint/lint1/mem1.c     |  6 +++---
 usr.bin/xlint/lint1/scan.l     |  6 +++---
 usr.bin/xlint/lint1/tree.c     |  6 +++---
 usr.bin/xlint/lint2/chk.c      |  6 +++---
 usr.bin/xlint/lint2/emit2.c    |  6 +++---
 usr.bin/xlint/lint2/hash.c     |  6 +++---
 usr.bin/xlint/lint2/main2.c    |  6 +++---
 usr.bin/xlint/lint2/mem2.c     |  6 +++---
 usr.bin/xlint/lint2/msg.c      |  6 +++---
 usr.bin/xlint/lint2/read.c     |  6 +++---
 usr.bin/xlint/xlint/xlint.c    |  6 +++---
 27 files changed, 81 insertions(+), 81 deletions(-)

diffs (truncated from 542 to 300 lines):

diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/common/emit.c
--- a/usr.bin/xlint/common/emit.c       Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/common/emit.c       Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emit.c,v 1.16 2021/09/04 14:48:27 rillig Exp $ */
+/*     $NetBSD: emit.c,v 1.17 2022/05/20 21:18:54 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -36,8 +36,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: emit.c,v 1.16 2021/09/04 14:48:27 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: emit.c,v 1.17 2022/05/20 21:18:54 rillig Exp $");
 #endif
 
 #include <stdio.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/common/inittyp.c
--- a/usr.bin/xlint/common/inittyp.c    Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/common/inittyp.c    Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inittyp.c,v 1.30 2021/09/05 18:17:15 rillig Exp $      */
+/*     $NetBSD: inittyp.c,v 1.31 2022/05/20 21:18:54 rillig Exp $      */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -36,8 +36,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: inittyp.c,v 1.30 2021/09/05 18:17:15 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: inittyp.c,v 1.31 2022/05/20 21:18:54 rillig Exp $");
 #endif
 
 #if defined(IS_LINT1)
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/common/mem.c
--- a/usr.bin/xlint/common/mem.c        Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/common/mem.c        Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem.c,v 1.19 2021/08/31 17:22:24 rillig Exp $  */
+/*     $NetBSD: mem.c,v 1.20 2022/05/20 21:18:54 rillig Exp $  */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -36,8 +36,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mem.c,v 1.19 2021/08/31 17:22:24 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: mem.c,v 1.20 2022/05/20 21:18:54 rillig Exp $");
 #endif
 
 #include <stdarg.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/common/tyname.c
--- a/usr.bin/xlint/common/tyname.c     Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/common/tyname.c     Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tyname.c,v 1.50 2021/09/05 18:34:50 rillig Exp $       */
+/*     $NetBSD: tyname.c,v 1.51 2022/05/20 21:18:54 rillig Exp $       */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -34,8 +34,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tyname.c,v 1.50 2021/09/05 18:34:50 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: tyname.c,v 1.51 2022/05/20 21:18:54 rillig Exp $");
 #endif
 
 #include <limits.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y       Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/cgram.y       Fri May 20 21:18:54 2022 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.415 2022/05/12 20:57:49 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.416 2022/05/20 21:18:55 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -34,8 +34,8 @@
  */
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.415 2022/05/12 20:57:49 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: cgram.y,v 1.416 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <limits.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/ckbool.c
--- a/usr.bin/xlint/lint1/ckbool.c      Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/ckbool.c      Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ckbool.c,v 1.14 2022/05/19 17:24:14 rillig Exp $ */
+/* $NetBSD: ckbool.c,v 1.15 2022/05/20 21:18:55 rillig Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -35,8 +35,8 @@
 
 #include <sys/cdefs.h>
 
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: ckbool.c,v 1.14 2022/05/19 17:24:14 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: ckbool.c,v 1.15 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <string.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/ckctype.c
--- a/usr.bin/xlint/lint1/ckctype.c     Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/ckctype.c     Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ckctype.c,v 1.4 2022/03/19 14:48:31 rillig Exp $ */
+/* $NetBSD: ckctype.c,v 1.5 2022/05/20 21:18:55 rillig Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -35,8 +35,8 @@
 
 #include <sys/cdefs.h>
 
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: ckctype.c,v 1.4 2022/03/19 14:48:31 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: ckctype.c,v 1.5 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <string.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/ckgetopt.c
--- a/usr.bin/xlint/lint1/ckgetopt.c    Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/ckgetopt.c    Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ckgetopt.c,v 1.15 2022/02/27 18:29:14 rillig Exp $ */
+/* $NetBSD: ckgetopt.c,v 1.16 2022/05/20 21:18:55 rillig Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -34,8 +34,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: ckgetopt.c,v 1.15 2022/02/27 18:29:14 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: ckgetopt.c,v 1.16 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <stdbool.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/debug.c
--- a/usr.bin/xlint/lint1/debug.c       Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/debug.c       Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.c,v 1.17 2022/04/09 23:41:22 rillig Exp $ */
+/* $NetBSD: debug.c,v 1.18 2022/05/20 21:18:55 rillig Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -34,8 +34,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: debug.c,v 1.17 2022/04/09 23:41:22 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: debug.c,v 1.18 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <stdlib.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c        Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/decl.c        Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.280 2022/04/30 22:31:23 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.281 2022/05/20 21:18:55 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -37,8 +37,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.280 2022/04/30 22:31:23 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: decl.c,v 1.281 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <sys/param.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/emit1.c
--- a/usr.bin/xlint/lint1/emit1.c       Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/emit1.c       Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emit1.c,v 1.61 2022/02/27 18:29:14 rillig Exp $ */
+/* $NetBSD: emit1.c,v 1.62 2022/05/20 21:18:55 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -37,8 +37,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: emit1.c,v 1.61 2022/02/27 18:29:14 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: emit1.c,v 1.62 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include "lint1.h"
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/err.c Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: err.c,v 1.165 2022/05/12 17:31:30 christos Exp $       */
+/*     $NetBSD: err.c,v 1.166 2022/05/20 21:18:55 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -36,8 +36,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: err.c,v 1.165 2022/05/12 17:31:30 christos Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: err.c,v 1.166 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <sys/types.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/func.c
--- a/usr.bin/xlint/lint1/func.c        Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/func.c        Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: func.c,v 1.135 2022/04/30 22:31:23 rillig Exp $        */
+/*     $NetBSD: func.c,v 1.136 2022/05/20 21:18:55 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -36,8 +36,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: func.c,v 1.135 2022/04/30 22:31:23 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: func.c,v 1.136 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <stdlib.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/init.c
--- a/usr.bin/xlint/lint1/init.c        Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/init.c        Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.234 2022/04/30 21:38:03 rillig Exp $        */
+/*     $NetBSD: init.c,v 1.235 2022/05/20 21:18:55 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,8 +37,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: init.c,v 1.234 2022/04/30 21:38:03 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: init.c,v 1.235 2022/05/20 21:18:55 rillig Exp $");
 #endif
 
 #include <stdlib.h>
diff -r c71d7c8606d4 -r ce966036f94c usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Fri May 20 21:03:04 2022 +0000
+++ b/usr.bin/xlint/lint1/lex.c Fri May 20 21:18:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.130 2022/05/12 00:18:35 rillig Exp $ */
+/* $NetBSD: lex.c,v 1.131 2022/05/20 21:18:55 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -37,8 +37,8 @@
 #endif
 
 #include <sys/cdefs.h>
-#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: lex.c,v 1.130 2022/05/12 00:18:35 rillig Exp $");
+#if defined(__RCSID)
+__RCSID("$NetBSD: lex.c,v 1.131 2022/05/20 21:18:55 rillig Exp $");
 #endif
 



Home | Main Index | Thread Index | Old Index