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 redundant include lines



details:   https://anonhg.NetBSD.org/src/rev/83632d8bad29
branches:  trunk
changeset: 375330:83632d8bad29
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon May 15 08:11:27 2023 +0000

description:
indent: remove redundant include lines

diffstat:

 usr.bin/indent/indent.c |  5 ++---
 usr.bin/indent/io.c     |  5 ++---
 usr.bin/indent/parse.c  |  5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diffs (63 lines):

diff -r faa63368a56b -r 83632d8bad29 usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c   Mon May 15 08:02:01 2023 +0000
+++ b/usr.bin/indent/indent.c   Mon May 15 08:11:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.c,v 1.270 2023/05/15 08:02:01 rillig Exp $      */
+/*     $NetBSD: indent.c,v 1.271 2023/05/15 08:11:27 rillig Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -38,11 +38,10 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: indent.c,v 1.270 2023/05/15 08:02:01 rillig Exp $");
+__RCSID("$NetBSD: indent.c,v 1.271 2023/05/15 08:11:27 rillig Exp $");
 
 #include <sys/param.h>
 #include <err.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <stdarg.h>
 #include <stdio.h>
diff -r faa63368a56b -r 83632d8bad29 usr.bin/indent/io.c
--- a/usr.bin/indent/io.c       Mon May 15 08:02:01 2023 +0000
+++ b/usr.bin/indent/io.c       Mon May 15 08:11:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.c,v 1.166 2023/05/15 07:28:45 rillig Exp $  */
+/*     $NetBSD: io.c,v 1.167 2023/05/15 08:11:27 rillig Exp $  */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -38,9 +38,8 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: io.c,v 1.166 2023/05/15 07:28:45 rillig Exp $");
+__RCSID("$NetBSD: io.c,v 1.167 2023/05/15 08:11:27 rillig Exp $");
 
-#include <assert.h>
 #include <stdio.h>
 #include <string.h>
 
diff -r faa63368a56b -r 83632d8bad29 usr.bin/indent/parse.c
--- a/usr.bin/indent/parse.c    Mon May 15 08:02:01 2023 +0000
+++ b/usr.bin/indent/parse.c    Mon May 15 08:11:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.56 2023/05/15 07:28:45 rillig Exp $        */
+/*     $NetBSD: parse.c,v 1.57 2023/05/15 08:11:27 rillig Exp $        */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -38,10 +38,9 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: parse.c,v 1.56 2023/05/15 07:28:45 rillig Exp $");
+__RCSID("$NetBSD: parse.c,v 1.57 2023/05/15 08:11:27 rillig Exp $");
 
 #include <err.h>
-#include <stdio.h>
 
 #include "indent.h"
 



Home | Main Index | Thread Index | Old Index