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): rename ForIterate to ForReadMore



details:   https://anonhg.NetBSD.org/src/rev/4363095eb865
branches:  trunk
changeset: 979194:4363095eb865
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Dec 19 13:20:17 2020 +0000

description:
make(1): rename ForIterate to ForReadMore

diffstat:

 usr.bin/make/for.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 908c73d45946 -r 4363095eb865 usr.bin/make/for.c
--- a/usr.bin/make/for.c        Sat Dec 19 13:16:25 2020 +0000
+++ b/usr.bin/make/for.c        Sat Dec 19 13:20:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: for.c,v 1.118 2020/12/15 16:24:17 rillig Exp $ */
+/*     $NetBSD: for.c,v 1.119 2020/12/19 13:20:17 rillig Exp $ */
 
 /*
  * Copyright (c) 1992, The Regents of the University of California.
@@ -60,7 +60,7 @@
 #include "make.h"
 
 /*     "@(#)for.c      8.1 (Berkeley) 6/6/93"  */
-MAKE_RCSID("$NetBSD: for.c,v 1.118 2020/12/15 16:24:17 rillig Exp $");
+MAKE_RCSID("$NetBSD: for.c,v 1.119 2020/12/19 13:20:17 rillig Exp $");
 
 static int forLevel = 0;       /* Nesting level */
 
@@ -425,7 +425,7 @@
  * to contrive a makefile where an unwanted substitution happens.
  */
 static char *
-ForIterate(void *v_arg, size_t *out_len)
+ForReadMore(void *v_arg, size_t *out_len)
 {
        For *f = v_arg;
        const char *p;
@@ -484,5 +484,5 @@
                return;
        }
 
-       Parse_SetInput(NULL, lineno, -1, ForIterate, f);
+       Parse_SetInput(NULL, lineno, -1, ForReadMore, f);
 }



Home | Main Index | Thread Index | Old Index