From b24cc988512ed34d0854c1b8adc8f42b8abecbd5 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 1 Feb 2005 10:50:37 +0000 Subject: 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 --- usr.bin/make/hash.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'usr.bin/make/hash.c') diff --git a/usr.bin/make/hash.c b/usr.bin/make/hash.c index 5a54668..503d328 100644 --- a/usr.bin/make/hash.c +++ b/usr.bin/make/hash.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 1988, 1989, 1990, 1993 * The Regents of the University of California. All rights reserved. * Copyright (c) 1988, 1989 by Adam de Boor @@ -49,10 +49,14 @@ __FBSDID("$FreeBSD$"); * table. Hash tables grow automatically as the amount of * information increases. */ + +#include +#include #include -#include "sprite.h" -#include "make.h" + #include "hash.h" +#include "sprite.h" +#include "util.h" /* * Forward references to local procedures that are used before they're -- cgit v1.1