Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint lint: sort includes
details: https://anonhg.NetBSD.org/src/rev/637e934ade1a
branches: trunk
changeset: 958211:637e934ade1a
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Dec 28 19:07:43 2020 +0000
description:
lint: sort includes
diffstat:
usr.bin/xlint/lint1/cgram.y | 6 +++---
usr.bin/xlint/lint1/err.c | 6 +++---
usr.bin/xlint/lint1/init.c | 6 +++---
usr.bin/xlint/lint1/main1.c | 12 ++++++------
usr.bin/xlint/lint1/scan.l | 14 +++++++-------
usr.bin/xlint/lint1/tree.c | 8 ++++----
usr.bin/xlint/lint2/chk.c | 6 +++---
usr.bin/xlint/lint2/mem2.c | 6 +++---
usr.bin/xlint/lint2/msg.c | 6 +++---
usr.bin/xlint/lint2/read.c | 6 +++---
10 files changed, 38 insertions(+), 38 deletions(-)
diffs (266 lines):
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Mon Dec 28 19:07:43 2020 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.107 2020/12/28 18:51:18 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.108 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,12 +35,12 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.107 2020/12/28 18:51:18 rillig Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.108 2020/12/28 19:07:43 rillig Exp $");
#endif
+#include <limits.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
#include "lint1.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/err.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.54 2020/06/02 21:10:07 christos Exp $ */
+/* $NetBSD: err.c,v 1.55 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,12 +37,12 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: err.c,v 1.54 2020/06/02 21:10:07 christos Exp $");
+__RCSID("$NetBSD: err.c,v 1.55 2020/12/28 19:07:43 rillig Exp $");
#endif
#include <sys/types.h>
+#include <stdarg.h>
#include <stdlib.h>
-#include <stdarg.h>
#include "lint1.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/init.c
--- a/usr.bin/xlint/lint1/init.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/init.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.30 2020/12/28 19:02:16 rillig Exp $ */
+/* $NetBSD: init.c,v 1.31 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,12 +37,12 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: init.c,v 1.30 2020/12/28 19:02:16 rillig Exp $");
+__RCSID("$NetBSD: init.c,v 1.31 2020/12/28 19:07:43 rillig Exp $");
#endif
+#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#include "lint1.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/main1.c
--- a/usr.bin/xlint/lint1/main1.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/main1.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main1.c,v 1.28 2020/12/28 12:52:45 rillig Exp $ */
+/* $NetBSD: main1.c,v 1.29 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,17 +37,17 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: main1.c,v 1.28 2020/12/28 12:52:45 rillig Exp $");
+__RCSID("$NetBSD: main1.c,v 1.29 2020/12/28 19:07:43 rillig Exp $");
#endif
#include <sys/types.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
#include <errno.h>
#include <limits.h>
#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
#include "lint1.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/scan.l Mon Dec 28 19:07:43 2020 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: scan.l,v 1.93 2020/12/28 18:51:18 rillig Exp $ */
+/* $NetBSD: scan.l,v 1.94 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,16 +35,16 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: scan.l,v 1.93 2020/12/28 18:51:18 rillig Exp $");
+__RCSID("$NetBSD: scan.l,v 1.94 2020/12/28 19:07:43 rillig Exp $");
#endif
+#include <ctype.h>
+#include <errno.h>
+#include <float.h>
+#include <limits.h>
+#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
-#include <float.h>
-#include <ctype.h>
-#include <errno.h>
-#include <math.h>
#include "lint1.h"
#include "cgram.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint1/tree.c
--- a/usr.bin/xlint/lint1/tree.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/tree.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tree.c,v 1.91 2020/12/28 19:02:16 rillig Exp $ */
+/* $NetBSD: tree.c,v 1.92 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,15 +37,15 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.91 2020/12/28 19:02:16 rillig Exp $");
+__RCSID("$NetBSD: tree.c,v 1.92 2020/12/28 19:07:43 rillig Exp $");
#endif
-#include <stdlib.h>
-#include <string.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <signal.h>
+#include <stdlib.h>
+#include <string.h>
#include "lint1.h"
#include "cgram.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint2/chk.c
--- a/usr.bin/xlint/lint2/chk.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint2/chk.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chk.c,v 1.24 2020/12/28 18:49:02 rillig Exp $ */
+/* $NetBSD: chk.c,v 1.25 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,13 +38,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: chk.c,v 1.24 2020/12/28 18:49:02 rillig Exp $");
+__RCSID("$NetBSD: chk.c,v 1.25 2020/12/28 19:07:43 rillig Exp $");
#endif
#include <ctype.h>
-#include <string.h>
#include <limits.h>
#include <stdlib.h>
+#include <string.h>
#include "lint2.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint2/mem2.c
--- a/usr.bin/xlint/lint2/mem2.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint2/mem2.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem2.c,v 1.9 2004/06/20 22:20:17 jmc Exp $ */
+/* $NetBSD: mem2.c,v 1.10 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,13 +37,13 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mem2.c,v 1.9 2004/06/20 22:20:17 jmc Exp $");
+__RCSID("$NetBSD: mem2.c,v 1.10 2020/12/28 19:07:43 rillig Exp $");
#endif
#include <sys/param.h>
#include <sys/types.h>
+#include <string.h>
#include <unistd.h>
-#include <string.h>
#include "lint2.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint2/msg.c
--- a/usr.bin/xlint/lint2/msg.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint2/msg.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.11 2011/05/24 12:49:11 joerg Exp $ */
+/* $NetBSD: msg.c,v 1.12 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,11 +37,11 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msg.c,v 1.11 2011/05/24 12:49:11 joerg Exp $");
+__RCSID("$NetBSD: msg.c,v 1.12 2020/12/28 19:07:43 rillig Exp $");
#endif
+#include <stdarg.h>
#include <stdio.h>
-#include <stdarg.h>
#include <string.h>
#include "lint2.h"
diff -r bb079a7c5043 -r 637e934ade1a usr.bin/xlint/lint2/read.c
--- a/usr.bin/xlint/lint2/read.c Mon Dec 28 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint2/read.c Mon Dec 28 19:07:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.28 2018/09/07 15:16:15 christos Exp $ */
+/* $NetBSD: read.c,v 1.29 2020/12/28 19:07:43 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,15 +38,15 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: read.c,v 1.28 2018/09/07 15:16:15 christos Exp $");
+__RCSID("$NetBSD: read.c,v 1.29 2020/12/28 19:07:43 rillig Exp $");
#endif
#include <ctype.h>
#include <limits.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdarg.h>
#include "lint2.h"
Home |
Main Index |
Thread Index |
Old Index