diff options
author | 1999-12-16 17:24:11 +0000 | |
---|---|---|
committer | 1999-12-16 17:24:11 +0000 | |
commit | f9b4f794ab501b67aaf6624b7e79a2fa2277e7ab (patch) | |
tree | 67a22f919d3f00b117e357d11490512c2c4528e2 | |
parent | for.c becomes sane. (diff) | |
download | wireguard-openbsd-f9b4f794ab501b67aaf6624b7e79a2fa2277e7ab.tar.xz wireguard-openbsd-f9b4f794ab501b67aaf6624b7e79a2fa2277e7ab.zip |
remaining part of the previous patch... patch got confused somehow.
-rw-r--r-- | usr.bin/make/for.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index acea5672605..751038df5c0 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -1,4 +1,4 @@ -/* $OpenBSD: for.c,v 1.11 1999/12/16 17:07:20 espie Exp $ */ +/* $OpenBSD: for.c,v 1.12 1999/12/16 17:24:11 espie Exp $ */ /* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */ /* @@ -61,30 +61,31 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 -static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93"; -#else -static char rcsid[] = "$OpenBSD: for.c,v 1.11 1999/12/16 17:07:20 espie Exp $"; -#endif -#endif /* not lint */ - /*- * for.c -- * Functions to handle loops in a makefile. * * Interface: - * For_Eval Evaluate the loop in the passed line. + * For_Eval Evaluate the .for in the passed line + * For_Accumulate Add lines to an accumulating loop * For_Run Run accumulated loop * */ #include <ctype.h> +#include <assert.h> +#include <stddef.h> #include "make.h" -#include "hash.h" -#include "dir.h" #include "buf.h" +#ifndef lint +#if 0 +static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93"; +#else +static char rcsid[] = "$OpenBSD: for.c,v 1.12 1999/12/16 17:24:11 espie Exp $"; +#endif +#endif /* not lint */ + /* * For statements are of the form: * |