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/str.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/str.c')
-rw-r--r-- | usr.bin/make/str.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c index 9903980..22633ae 100644 --- a/usr.bin/make/str.c +++ b/usr.bin/make/str.c @@ -41,7 +41,14 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "make.h" +#include <ctype.h> +#include <stdlib.h> +#include <string.h> + +#include "globals.h" +#include "str.h" +#include "util.h" +#include "var.h" static char **argv, *buffer; static int argmax, curlen; |