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): align comments on a few commonly used ...



details:   https://anonhg.NetBSD.org/src/rev/f544fdb5ec01
branches:  trunk
changeset: 942044:f544fdb5ec01
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Nov 04 13:31:58 2020 +0000

description:
make(1): align comments on a few commonly used variables

diffstat:

 usr.bin/make/make.h  |  11 ++++++-----
 usr.bin/make/parse.c |   6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (52 lines):

diff -r e5f054808e40 -r f544fdb5ec01 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Wed Nov 04 13:29:42 2020 +0000
+++ b/usr.bin/make/make.h       Wed Nov 04 13:31:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.186 2020/11/04 13:29:42 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.187 2020/11/04 13:31:58 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -460,10 +460,11 @@
 /* The default for sysIncPath. */
 extern SearchPath *defSysIncPath;
 
-extern char    curdir[];       /* Startup directory */
-extern char    *progname;      /* The program name */
-extern char    *makeDependfile; /* .depend */
-extern char    **savedEnv;     /* if we replaced environ this will be non-NULL */
+extern char curdir[];          /* Startup directory */
+extern char *progname;         /* The program name */
+extern char *makeDependfile;   /* .depend */
+/* If we replaced environ, this will be non-NULL. */
+extern char **savedEnv;
 
 extern int     makelevel;
 
diff -r e5f054808e40 -r f544fdb5ec01 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Wed Nov 04 13:29:42 2020 +0000
+++ b/usr.bin/make/parse.c      Wed Nov 04 13:31:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.425 2020/11/04 06:09:55 rillig Exp $       */
+/*     $NetBSD: parse.c,v 1.426 2020/11/04 13:31:58 rillig Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -117,7 +117,7 @@
 #include "pathnames.h"
 
 /*     "@(#)parse.c    8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.425 2020/11/04 06:09:55 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.426 2020/11/04 13:31:58 rillig Exp $");
 
 /* types and constants */
 
@@ -125,7 +125,7 @@
  * Structure for a file being read ("included file")
  */
 typedef struct IFile {
-    char *fname;               /* name of file */
+    char *fname;               /* name of file (relative? absolute?) */
     Boolean fromForLoop;       /* simulated .include by the .for loop */
     int lineno;                        /* current line number in file */
     int first_lineno;          /* line number of start of text */



Home | Main Index | Thread Index | Old Index