summaryrefslogtreecommitdiff
path: root/usr.bin/make/main.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-11-11 12:35:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-11-11 12:35:04 +0000
commitdc530fd86f2e0e8527101abd7e2e9646177825db (patch)
tree6fc760e44ccc2e2e620d64e990f53e6a2a405a70 /usr.bin/make/main.c
parent322915facec3177278e63d2d902533d68526ab68 (diff)
Fixed version... don't see how this could work on i386, since it didn't
initialize create in main.c.
Diffstat (limited to 'usr.bin/make/main.c')
-rw-r--r--usr.bin/make/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 94ac71e8f1e..1be8e27b55e 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: main.c,v 1.55 2001/11/11 06:02:06 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.56 2001/11/11 12:35:02 espie Exp $ */
/* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */
/*
@@ -471,7 +471,7 @@ main(argc, argv)
int argc;
char **argv;
{
- LIST targs; /* target nodes to create */
+ static LIST targs; /* target nodes to create */
bool outOfDate = true; /* false if all targets up to date */
struct stat sb, sa;
char *p, *path, *pathp, *pwd;
@@ -587,10 +587,10 @@ main(argc, argv)
esetenv("PWD", objdir);
unsetenv("CDPATH");
- Lst_Init(create);
- Lst_Init(&makefiles);
- Lst_Init(&varstoprint);
- Lst_Init(&targs);
+ Static_Lst_Init(create);
+ Static_Lst_Init(&makefiles);
+ Static_Lst_Init(&varstoprint);
+ Static_Lst_Init(&targs);
beSilent = false; /* Print commands as executed */
ignoreErrors = false; /* Pay attention to non-zero returns */