summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-11 23:20:02 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-11 23:20:02 +0000
commit815391c36094378cb2878e3e592a8cec34e3e52a (patch)
tree1168e08d4d3fbd901e6c356504e447e516b572a0 /usr.bin/make
parent333d839380081985fbd2214da8accf9b1bf91274 (diff)
downloadFreeBSD-src-815391c36094378cb2878e3e592a8cec34e3e52a.zip
FreeBSD-src-815391c36094378cb2878e3e592a8cec34e3e52a.tar.gz
Remove unnecessary includes.
Reviewed by: rodrigc
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/arch.c1
-rw-r--r--usr.bin/make/dir.c2
-rw-r--r--usr.bin/make/for.c2
-rw-r--r--usr.bin/make/globals.h3
-rw-r--r--usr.bin/make/lst.c1
-rw-r--r--usr.bin/make/lst.h2
-rw-r--r--usr.bin/make/make.c3
-rw-r--r--usr.bin/make/str.c2
-rw-r--r--usr.bin/make/targ.c2
-rw-r--r--usr.bin/make/var.c2
10 files changed, 0 insertions, 20 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index 9cd0a1c..5a0ebc0 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -103,7 +103,6 @@ __FBSDID("$FreeBSD$");
#include "arch.h"
#include "buf.h"
-#include "config.h"
#include "dir.h"
#include "globals.h"
#include "GNode.h"
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c
index 8ca9984..9b529ea 100644
--- a/usr.bin/make/dir.c
+++ b/usr.bin/make/dir.c
@@ -90,7 +90,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include "arch.h"
#include "dir.h"
@@ -98,7 +97,6 @@ __FBSDID("$FreeBSD$");
#include "GNode.h"
#include "hash.h"
#include "lst.h"
-#include "make.h"
#include "str.h"
#include "targ.h"
#include "util.h"
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c
index 8df5471..f2eccce 100644
--- a/usr.bin/make/for.c
+++ b/usr.bin/make/for.c
@@ -50,11 +50,9 @@ __FBSDID("$FreeBSD$");
#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 "str.h"
#include "util.h"
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h
index 6f75eaf..06c302e 100644
--- a/usr.bin/make/globals.h
+++ b/usr.bin/make/globals.h
@@ -45,9 +45,6 @@
* Global Variables
*/
-#include <time.h>
-#include <stdint.h>
-
#include "lst.h"
#include "util.h"
diff --git a/usr.bin/make/lst.c b/usr.bin/make/lst.c
index a5b7f06..be30621 100644
--- a/usr.bin/make/lst.c
+++ b/usr.bin/make/lst.c
@@ -41,7 +41,6 @@
#include <stdlib.h>
#include "lst.h"
-#include "make.h"
#include "util.h"
/**
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h
index 497d59c..1199e94 100644
--- a/usr.bin/make/lst.h
+++ b/usr.bin/make/lst.h
@@ -48,8 +48,6 @@
* Header for using the list library
*/
-#include "util.h"
-
/*
* Structure of a list node.
*/
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c
index a6ddc85..bbbc899 100644
--- a/usr.bin/make/make.c
+++ b/usr.bin/make/make.c
@@ -72,10 +72,7 @@ __FBSDID("$FreeBSD$");
* and perform the .USE actions if so.
*/
-#include <stdlib.h>
-
#include "arch.h"
-#include "config.h"
#include "dir.h"
#include "globals.h"
#include "GNode.h"
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c
index 81bb7a3..44ba79d 100644
--- a/usr.bin/make/str.c
+++ b/usr.bin/make/str.c
@@ -41,12 +41,10 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "buf.h"
-#include "globals.h"
#include "str.h"
#include "util.h"
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index eac121e..75ced89 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -78,13 +78,11 @@ __FBSDID("$FreeBSD$");
*/
#include <stdio.h>
-#include <string.h>
#include "dir.h"
#include "globals.h"
#include "GNode.h"
#include "hash.h"
-#include "make.h"
#include "suff.h"
#include "targ.h"
#include "util.h"
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 983bb2a..534abca 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -84,7 +84,6 @@ __FBSDID("$FreeBSD$");
* XXX: There's a lot of duplication in these functions.
*/
-#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
@@ -97,7 +96,6 @@ __FBSDID("$FreeBSD$");
#include "GNode.h"
#include "job.h"
#include "lst.h"
-#include "make.h"
#include "parse.h"
#include "str.h"
#include "targ.h"
OpenPOWER on IntegriCloud