Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/indent indent: remove ifdef for lint
details: https://anonhg.NetBSD.org/src/rev/48aa64000016
branches: trunk
changeset: 1023745:48aa64000016
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Sep 25 13:38:32 2021 +0000
description:
indent: remove ifdef for lint
NetBSD lint does not need them anymore, FreeBSD does not have lint.
diffstat:
usr.bin/indent/args.c | 8 ++------
usr.bin/indent/indent.c | 8 ++------
usr.bin/indent/indent.h | 4 +---
usr.bin/indent/io.c | 8 ++------
usr.bin/indent/lexi.c | 8 ++------
usr.bin/indent/parse.c | 6 +-----
usr.bin/indent/pr_comment.c | 8 ++------
7 files changed, 12 insertions(+), 38 deletions(-)
diffs (199 lines):
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/args.c
--- a/usr.bin/indent/args.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/args.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: args.c,v 1.22 2021/03/14 00:22:16 rillig Exp $ */
+/* $NetBSD: args.c,v 1.23 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: args.c,v 1.22 2021/03/14 00:22:16 rillig Exp $");
+__RCSID("$NetBSD: args.c,v 1.23 2021/09/25 13:38:32 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/args.c 336318 2018-07-15 21:04:21Z pstef $");
#endif
-#endif
/*
* Argument scanning and profile reading code. Default parameters are set
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/indent.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: indent.c,v 1.69 2021/09/25 10:41:03 rillig Exp $ */
+/* $NetBSD: indent.c,v 1.70 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.69 2021/09/25 10:41:03 rillig Exp $");
+__RCSID("$NetBSD: indent.c,v 1.70 2021/09/25 13:38:32 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
#endif
-#endif
#include <sys/param.h>
#if HAVE_CAPSICUM
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/indent.h
--- a/usr.bin/indent/indent.h Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/indent.h Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: indent.h,v 1.17 2021/09/25 08:23:31 rillig Exp $ */
+/* $NetBSD: indent.h,v 1.18 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -29,10 +29,8 @@
*/
#if 0
-#if defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/indent.h 336333 2018-07-16 05:46:50Z pstef $");
#endif
-#endif
#include "indent_codes.h"
#include "indent_globs.h"
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/io.c
--- a/usr.bin/indent/io.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/io.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.58 2021/09/25 10:41:03 rillig Exp $ */
+/* $NetBSD: io.c,v 1.59 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.58 2021/09/25 10:41:03 rillig Exp $");
+__RCSID("$NetBSD: io.c,v 1.59 2021/09/25 13:38:32 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
#endif
-#endif
#include <ctype.h>
#include <err.h>
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/lexi.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lexi.c,v 1.52 2021/09/25 10:24:10 rillig Exp $ */
+/* $NetBSD: lexi.c,v 1.53 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)lexi.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: lexi.c,v 1.52 2021/09/25 10:24:10 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.53 2021/09/25 13:38:32 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/lexi.c 337862 2018-08-15 18:19:45Z pstef $");
#endif
-#endif
#include <assert.h>
#include <err.h>
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/parse.c
--- a/usr.bin/indent/parse.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/parse.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.22 2021/09/25 08:04:13 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.23 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
__RCSID("$FreeBSD$");
#else
__FBSDID("$FreeBSD: head/usr.bin/indent/parse.c 337651 2018-08-11 19:20:06Z pstef $");
#endif
-#endif
#include <err.h>
#include <stdio.h>
diff -r 28b5652f25b9 -r 48aa64000016 usr.bin/indent/pr_comment.c
--- a/usr.bin/indent/pr_comment.c Sat Sep 25 13:26:07 2021 +0000
+++ b/usr.bin/indent/pr_comment.c Sat Sep 25 13:38:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pr_comment.c,v 1.41 2021/09/25 10:41:03 rillig Exp $ */
+/* $NetBSD: pr_comment.c,v 1.42 2021/09/25 13:38:32 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -38,19 +38,15 @@
*/
#if 0
-#ifndef lint
static char sccsid[] = "@(#)pr_comment.c 8.1 (Berkeley) 6/6/93";
-#endif /* not lint */
#endif
#include <sys/cdefs.h>
-#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: pr_comment.c,v 1.41 2021/09/25 10:41:03 rillig Exp $");
+__RCSID("$NetBSD: pr_comment.c,v 1.42 2021/09/25 13:38:32 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/pr_comment.c 334927 2018-06-10 16:44:18Z pstef $");
#endif
-#endif
#include <err.h>
#include <stdio.h>
Home |
Main Index |
Thread Index |
Old Index