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): fix declared variable type in printCMDs



details:   https://anonhg.NetBSD.org/src/rev/ccb8a8fe5b96
branches:  trunk
changeset: 979264:ccb8a8fe5b96
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Dec 20 22:02:54 2020 +0000

description:
make(1): fix declared variable type in printCMDs

No functional changes since StringListNode and GNodeListNode are both
typedefs of a simple generic ListNode.

diffstat:

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

diffs (18 lines):

diff -r a442e55cffb5 -r ccb8a8fe5b96 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sun Dec 20 21:30:28 2020 +0000
+++ b/usr.bin/make/meta.c       Sun Dec 20 22:02:54 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.161 2020/12/20 14:32:13 rillig Exp $ */
+/*      $NetBSD: meta.c,v 1.162 2020/12/20 22:02:54 rillig Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -386,7 +386,7 @@
 static void
 printCMDs(GNode *gn, FILE *fp)
 {
-    GNodeListNode *ln;
+    StringListNode *ln;
 
     for (ln = gn->commands.first; ln != NULL; ln = ln->next)
        printCMD(ln->datum, fp, gn);



Home | Main Index | Thread Index | Old Index