From 78f41cb54095b13790be8659bc59a38cde86b503 Mon Sep 17 00:00:00 2001 From: fair Date: Mon, 23 Mar 1998 08:52:48 +0000 Subject: [PATCH] patch from PR#3573 to rename a variable "main" to "mainList" --- usr.bin/make/parse.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 40128196286a..7899c10f4671 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.36 1997/09/28 03:31:09 lukem Exp $ */ +/* $NetBSD: parse.c,v 1.37 1998/03/23 08:52:48 fair Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: parse.c,v 1.36 1997/09/28 03:31:09 lukem Exp $"; +static char rcsid[] = "$NetBSD: parse.c,v 1.37 1998/03/23 08:52:48 fair Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: parse.c,v 1.36 1997/09/28 03:31:09 lukem Exp $"); +__RCSID("$NetBSD: parse.c,v 1.37 1998/03/23 08:52:48 fair Exp $"); #endif #endif /* not lint */ #endif @@ -2592,18 +2592,18 @@ Parse_End() Lst Parse_MainName() { - Lst main; /* result list */ + Lst mainList; /* result list */ - main = Lst_Init (FALSE); + mainList = Lst_Init (FALSE); if (mainNode == NILGNODE) { Punt ("no target to make."); /*NOTREACHED*/ } else if (mainNode->type & OP_DOUBLEDEP) { - (void) Lst_AtEnd (main, (ClientData)mainNode); - Lst_Concat(main, mainNode->cohorts, LST_CONCNEW); + (void) Lst_AtEnd (mainList, (ClientData)mainNode); + Lst_Concat(mainList, mainNode->cohorts, LST_CONCNEW); } else - (void) Lst_AtEnd (main, (ClientData)mainNode); - return (main); + (void) Lst_AtEnd (mainList, (ClientData)mainNode); + return (mainList); }