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/c51e21945d89
branches:  trunk
changeset: 957970:c51e21945d89
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 48908ed69a9e -r c51e21945d89 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