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: fix included headers



details:   https://anonhg.NetBSD.org/src/rev/5a174c7c4e6d
branches:  trunk
changeset: 1026343:5a174c7c4e6d
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Nov 19 20:04:02 2021 +0000

description:
indent: fix included headers

diffstat:

 usr.bin/indent/indent.c |  5 +++--
 usr.bin/indent/io.c     |  5 ++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r 56bb1a5cce47 -r 5a174c7c4e6d usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c   Fri Nov 19 20:01:37 2021 +0000
+++ b/usr.bin/indent/indent.c   Fri Nov 19 20:04:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.c,v 1.226 2021/11/19 19:55:15 rillig Exp $      */
+/*     $NetBSD: indent.c,v 1.227 2021/11/19 20:04:02 rillig Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.226 2021/11/19 19:55:15 rillig Exp $");
+__RCSID("$NetBSD: indent.c,v 1.227 2021/11/19 20:04:02 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
 #endif
@@ -58,6 +58,7 @@
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -r 56bb1a5cce47 -r 5a174c7c4e6d usr.bin/indent/io.c
--- a/usr.bin/indent/io.c       Fri Nov 19 20:01:37 2021 +0000
+++ b/usr.bin/indent/io.c       Fri Nov 19 20:04:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.c,v 1.126 2021/11/19 20:01:37 rillig Exp $  */
+/*     $NetBSD: io.c,v 1.127 2021/11/19 20:04:02 rillig Exp $  */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -43,14 +43,13 @@
 
 #include <sys/cdefs.h>
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.126 2021/11/19 20:01:37 rillig Exp $");
+__RCSID("$NetBSD: io.c,v 1.127 2021/11/19 20:04:02 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
 #endif
 
 #include <assert.h>
 #include <ctype.h>
-#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index