diff options
author | harti <harti@FreeBSD.org> | 2005-02-01 10:50:37 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-01 10:50:37 +0000 |
commit | b24cc988512ed34d0854c1b8adc8f42b8abecbd5 (patch) | |
tree | ad58e65b384352ba6b76d8d9e9ad5ae790aaf99f /usr.bin/make/for.c | |
parent | b0d098fb3c0b0335d47a860cc6fb174948400795 (diff) | |
download | FreeBSD-src-b24cc988512ed34d0854c1b8adc8f42b8abecbd5.zip FreeBSD-src-b24cc988512ed34d0854c1b8adc8f42b8abecbd5.tar.gz |
Clean up include files and file including. Split nonints.h into pieces
that get included just where they are needed. All headers include the
headers that they need to compile (just with an empty .c file). Sort
includes alphabetically where apropriate and fix some duplicate commenting
for struct Job, struct GNode and struct Shell by removing one version and
inlining the comments into the structure declaration (the comments have been
somewhat outdated).
This patch does not contain functional changes (checked with md5).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/for.c')
-rw-r--r-- | usr.bin/make/for.c | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index a083630..43dca73 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * @@ -13,11 +13,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -49,11 +45,19 @@ __FBSDID("$FreeBSD$"); * */ -#include <ctype.h> -#include "make.h" -#include "hash.h" -#include "dir.h" -#include "buf.h" +#include <ctype.h> +#include <stdlib.h> +#include <string.h> + +#include "buf.h" +#include "dir.h" +#include "for.h" +#include "globals.h" +#include "lst.h" +#include "make.h" +#include "parse.h" +#include "util.h" +#include "var.h" /* * For statements are of the form: |