Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): format #include directives consistently



details:   https://anonhg.NetBSD.org/src/rev/a663a1b02684
branches:  trunk
changeset: 945519:a663a1b02684
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Oct 31 18:41:07 2020 +0000

description:
make(1): format #include directives consistently

diffstat:

 usr.bin/make/arch.c |  22 +++++++++++-----------
 usr.bin/make/for.c  |   6 +++---
 usr.bin/make/make.c |  10 +++++-----
 usr.bin/make/var.c  |  26 +++++++++++++-------------
 4 files changed, 32 insertions(+), 32 deletions(-)

diffs (132 lines):

diff -r c1826c95350f -r a663a1b02684 usr.bin/make/arch.c
--- a/usr.bin/make/arch.c       Sat Oct 31 18:20:00 2020 +0000
+++ b/usr.bin/make/arch.c       Sat Oct 31 18:41:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arch.c,v 1.150 2020/10/31 11:54:33 rillig Exp $        */
+/*     $NetBSD: arch.c,v 1.151 2020/10/31 18:41:07 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -117,20 +117,20 @@
  *     Arch_End        Clean up this module.
  */
 
-#include    <sys/types.h>
-#include    <sys/stat.h>
-#include    <sys/time.h>
-#include    <sys/param.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/param.h>
 
-#include    <ar.h>
-#include    <utime.h>
+#include <ar.h>
+#include <utime.h>
 
-#include    "make.h"
-#include    "dir.h"
-#include    "config.h"
+#include "make.h"
+#include "dir.h"
+#include "config.h"
 
 /*     "@(#)arch.c     8.2 (Berkeley) 1/2/94"  */
-MAKE_RCSID("$NetBSD: arch.c,v 1.150 2020/10/31 11:54:33 rillig Exp $");
+MAKE_RCSID("$NetBSD: arch.c,v 1.151 2020/10/31 18:41:07 rillig Exp $");
 
 #ifdef TARGET_MACHINE
 #undef MAKE_MACHINE
diff -r c1826c95350f -r a663a1b02684 usr.bin/make/for.c
--- a/usr.bin/make/for.c        Sat Oct 31 18:20:00 2020 +0000
+++ b/usr.bin/make/for.c        Sat Oct 31 18:41:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: for.c,v 1.111 2020/10/26 07:37:52 rillig Exp $ */
+/*     $NetBSD: for.c,v 1.112 2020/10/31 18:41:07 rillig Exp $ */
 
 /*
  * Copyright (c) 1992, The Regents of the University of California.
@@ -57,10 +57,10 @@
  *     For_Run         Run accumulated loop
  */
 
-#include    "make.h"
+#include "make.h"
 
 /*     "@(#)for.c      8.1 (Berkeley) 6/6/93"  */
-MAKE_RCSID("$NetBSD: for.c,v 1.111 2020/10/26 07:37:52 rillig Exp $");
+MAKE_RCSID("$NetBSD: for.c,v 1.112 2020/10/31 18:41:07 rillig Exp $");
 
 /* The .for loop substitutes the items as ${:U<value>...}, which means
  * that characters that break this syntax must be backslash-escaped. */
diff -r c1826c95350f -r a663a1b02684 usr.bin/make/make.c
--- a/usr.bin/make/make.c       Sat Oct 31 18:20:00 2020 +0000
+++ b/usr.bin/make/make.c       Sat Oct 31 18:41:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.c,v 1.184 2020/10/31 11:54:33 rillig Exp $        */
+/*     $NetBSD: make.c,v 1.185 2020/10/31 18:41:07 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -102,12 +102,12 @@
  *     Make_ExpandUse  Expand .USE nodes
  */
 
-#include    "make.h"
-#include    "dir.h"
-#include    "job.h"
+#include "make.h"
+#include "dir.h"
+#include "job.h"
 
 /*     "@(#)make.c     8.1 (Berkeley) 6/6/93"  */
-MAKE_RCSID("$NetBSD: make.c,v 1.184 2020/10/31 11:54:33 rillig Exp $");
+MAKE_RCSID("$NetBSD: make.c,v 1.185 2020/10/31 18:41:07 rillig Exp $");
 
 /* Sequence # to detect recursion. */
 static unsigned int checked = 1;
diff -r c1826c95350f -r a663a1b02684 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Sat Oct 31 18:20:00 2020 +0000
+++ b/usr.bin/make/var.c        Sat Oct 31 18:41:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.629 2020/10/31 18:17:08 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.630 2020/10/31 18:41:07 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -114,22 +114,22 @@
  * XXX: There's a lot of duplication in these functions.
  */
 
-#include    <sys/stat.h>
+#include <sys/stat.h>
 #ifndef NO_REGEX
-#include    <sys/types.h>
-#include    <regex.h>
+#include <sys/types.h>
+#include <regex.h>
 #endif
-#include    <inttypes.h>
-#include    <limits.h>
-#include    <time.h>
-
-#include    "make.h"
-#include    "dir.h"
-#include    "job.h"
-#include    "metachar.h"
+#include <inttypes.h>
+#include <limits.h>
+#include <time.h>
+
+#include "make.h"
+#include "dir.h"
+#include "job.h"
+#include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.629 2020/10/31 18:17:08 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.630 2020/10/31 18:41:07 rillig Exp $");
 
 #define VAR_DEBUG1(fmt, arg1) DEBUG1(VAR, fmt, arg1)
 #define VAR_DEBUG2(fmt, arg1, arg2) DEBUG2(VAR, fmt, arg1, arg2)



Home | Main Index | Thread Index | Old Index