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: sort includes



details:   https://anonhg.NetBSD.org/src/rev/e1170479b366
branches:  trunk
changeset: 1024442:e1170479b366
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Oct 24 10:54:12 2021 +0000

description:
indent: sort includes

diffstat:

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

diffs (87 lines):

diff -r 16d5605324db -r e1170479b366 usr.bin/indent/args.c
--- a/usr.bin/indent/args.c     Sun Oct 24 06:52:26 2021 +0000
+++ b/usr.bin/indent/args.c     Sun Oct 24 10:54:12 2021 +0000
@@ -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 @@
 
 #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 @@
 
 #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"
 
diff -r 16d5605324db -r e1170479b366 usr.bin/indent/io.c
--- a/usr.bin/indent/io.c       Sun Oct 24 06:52:26 2021 +0000
+++ b/usr.bin/indent/io.c       Sun Oct 24 10:54:12 2021 +0000
@@ -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 @@
 
 #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"
 
diff -r 16d5605324db -r e1170479b366 usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c     Sun Oct 24 06:52:26 2021 +0000
+++ b/usr.bin/indent/lexi.c     Sun Oct 24 10:54:12 2021 +0000
@@ -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 @@
 
 #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"
 



Home | Main Index | Thread Index | Old Index