diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2005-03-23 12:56:15 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-03-23 12:56:15 +0000 |
commit | fb1dac11b4c8e57e22361a94045dbacf6a6c55b1 (patch) | |
tree | 9063b6b0025218d6244ad30a8bfa72a85bc4ba1b /usr.bin/make/globals.h | |
parent | eaf024900a7067fb977c900ef1010a0396ee8d08 (diff) | |
download | src-fb1dac11b4c8e57e22361a94045dbacf6a6c55b1.tar.gz src-fb1dac11b4c8e57e22361a94045dbacf6a6c55b1.zip |
Make paths an explicite datatype instead of using the generic Lst.
A Path is now a TAILQ of PathElements each of which just points to
a reference counted directory. Rename all functions dealing with Paths
from the Dir_ prefix to a Path_ prefix.
Notes
Notes:
svn path=/head/; revision=144020
Diffstat (limited to 'usr.bin/make/globals.h')
-rw-r--r-- | usr.bin/make/globals.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h index c9b3877d5fbd..c0b50502b7c2 100644 --- a/usr.bin/make/globals.h +++ b/usr.bin/make/globals.h @@ -52,6 +52,7 @@ struct GNode; struct IFile; +struct Path; /* * The list of target names specified on the command line. @@ -60,12 +61,15 @@ struct IFile; extern Lst create; /* The list of directories to search when looking for targets */ -extern Lst dirSearchPath; +extern struct Path dirSearchPath; extern struct IFile curFile; /* current makefile */ /* The list of directories to search when looking for includes */ -extern Lst parseIncPath; +extern struct Path parseIncPath; + +/* The system include path. */ +extern struct Path sysIncPath; extern Boolean jobsRunning; /* True if jobs are running */ extern Boolean compatMake; /* True if we are make compatible */ @@ -116,9 +120,6 @@ extern time_t now; extern Boolean oldVars; /* Do old-style variable substitution */ -/* The system include path. */ -extern Lst sysIncPath; - extern int debug; #endif /* globals_h_1c1edb96 */ |