Module Name: src Committed By: rillig Date: Fri Nov 19 20:04:02 UTC 2021
Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: fix included headers To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/usr.bin/indent/indent.c cvs rdiff -u -r1.126 -r1.127 src/usr.bin/indent/io.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/indent/indent.c diff -u src/usr.bin/indent/indent.c:1.226 src/usr.bin/indent/indent.c:1.227 --- src/usr.bin/indent/indent.c:1.226 Fri Nov 19 19:55:15 2021 +++ src/usr.bin/indent/indent.c Fri Nov 19 20:04:02 2021 @@ -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 @@ static char sccsid[] = "@(#)indent.c 5.1 #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 @@ __FBSDID("$FreeBSD: head/usr.bin/indent/ #include <err.h> #include <errno.h> #include <fcntl.h> +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> Index: src/usr.bin/indent/io.c diff -u src/usr.bin/indent/io.c:1.126 src/usr.bin/indent/io.c:1.127 --- src/usr.bin/indent/io.c:1.126 Fri Nov 19 20:01:37 2021 +++ src/usr.bin/indent/io.c Fri Nov 19 20:04:02 2021 @@ -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 @@ static char sccsid[] = "@(#)io.c 8.1 (Be #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>