make(1): fix declared variable type in printCMDs

No functional changes since StringListNode and GNodeListNode are both
typedefs of a simple generic ListNode.
This commit is contained in:
rillig 2020-12-20 22:02:54 +00:00
parent c34ee3711d
commit 4b4d56707b
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@ printCMD(const char *cmd, FILE *fp, GNode *gn)
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);