summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/arch.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-23 12:56:15 +0000
committerharti <harti@FreeBSD.org>2005-03-23 12:56:15 +0000
commit4fa1581ab5455f552c5bb19ec85108fda265d3e3 (patch)
tree9063b6b0025218d6244ad30a8bfa72a85bc4ba1b /usr.bin/make/arch.h
parent6074d030e0cfd6d506a874b419df9b8e939395f3 (diff)
downloadFreeBSD-src-4fa1581ab5455f552c5bb19ec85108fda265d3e3.zip
FreeBSD-src-4fa1581ab5455f552c5bb19ec85108fda265d3e3.tar.gz
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.
Diffstat (limited to 'usr.bin/make/arch.h')
-rw-r--r--usr.bin/make/arch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/arch.h b/usr.bin/make/arch.h
index 3b95563..d3f4ba9 100644
--- a/usr.bin/make/arch.h
+++ b/usr.bin/make/arch.h
@@ -45,13 +45,14 @@
struct GNode;
struct Lst;
+struct Path;
ReturnStatus Arch_ParseArchive(char **, struct Lst *, struct GNode *);
void Arch_Touch(struct GNode *);
void Arch_TouchLib(struct GNode *);
int Arch_MTime(struct GNode *);
int Arch_MemMTime(struct GNode *);
-void Arch_FindLib(struct GNode *, struct Lst *);
+void Arch_FindLib(struct GNode *, struct Path *);
Boolean Arch_LibOODate(struct GNode *);
void Arch_Init(void);
OpenPOWER on IntegriCloud