Module Name: src
Committed By: rillig
Date: Sun Oct 24 10:54:12 UTC 2021
Modified Files:
src/usr.bin/indent: args.c io.c lexi.c
Log Message:
indent: sort includes
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/indent/args.c
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/indent/io.c
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/indent/lexi.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/args.c
diff -u src/usr.bin/indent/args.c:1.56 src/usr.bin/indent/args.c:1.57
--- src/usr.bin/indent/args.c:1.56 Sun Oct 17 18:13:00 2021
+++ src/usr.bin/indent/args.c Sun Oct 24 10:54:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: args.c,v 1.56 2021/10/17 18:13:00 rillig Exp $ */
+/* $NetBSD: args.c,v 1.57 2021/10/24 10:54:12 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -43,7 +43,7 @@ static char sccsid[] = "@(#)args.c 8.1 (
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__RCSID("$NetBSD: args.c,v 1.56 2021/10/17 18:13:00 rillig Exp $");
+__RCSID("$NetBSD: args.c,v 1.57 2021/10/24 10:54:12 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/args.c 336318 2018-07-15 21:04:21Z pstef $");
#endif
@@ -52,11 +52,11 @@ __FBSDID("$FreeBSD: head/usr.bin/indent/
#include <ctype.h>
#include <err.h>
+#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
#include "indent.h"
Index: src/usr.bin/indent/io.c
diff -u src/usr.bin/indent/io.c:1.99 src/usr.bin/indent/io.c:1.100
--- src/usr.bin/indent/io.c:1.99 Wed Oct 20 05:14:21 2021
+++ src/usr.bin/indent/io.c Sun Oct 24 10:54:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.99 2021/10/20 05:14:21 rillig Exp $ */
+/* $NetBSD: io.c,v 1.100 2021/10/24 10:54:12 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -43,15 +43,15 @@ static char sccsid[] = "@(#)io.c 8.1 (Be
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.99 2021/10/20 05:14:21 rillig Exp $");
+__RCSID("$NetBSD: io.c,v 1.100 2021/10/24 10:54:12 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
#endif
#include <ctype.h>
+#include <stdarg.h>
#include <stdio.h>
#include <string.h>
-#include <stdarg.h>
#include "indent.h"
Index: src/usr.bin/indent/lexi.c
diff -u src/usr.bin/indent/lexi.c:1.92 src/usr.bin/indent/lexi.c:1.93
--- src/usr.bin/indent/lexi.c:1.92 Wed Oct 20 05:37:21 2021
+++ src/usr.bin/indent/lexi.c Sun Oct 24 10:54:12 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: lexi.c,v 1.92 2021/10/20 05:37:21 rillig Exp $ */
+/* $NetBSD: lexi.c,v 1.93 2021/10/24 10:54:12 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -43,17 +43,17 @@ static char sccsid[] = "@(#)lexi.c 8.1 (
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__RCSID("$NetBSD: lexi.c,v 1.92 2021/10/20 05:37:21 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.93 2021/10/24 10:54:12 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/lexi.c 337862 2018-08-15 18:19:45Z pstef $");
#endif
+#include <sys/param.h>
#include <assert.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/param.h>
#include "indent.h"