diff options
author | harti <harti@FreeBSD.org> | 2004-12-08 16:22:01 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-08 16:22:01 +0000 |
commit | bcb1f1f6f57e4630d36245b7c5fb2ce234218041 (patch) | |
tree | 033640eae93833ae9810ed9247ac98509312f27b /usr.bin/make/make.h | |
parent | a3e11dfa9b1fa344ae2ae1129eaf1c441f32d88e (diff) | |
download | FreeBSD-src-bcb1f1f6f57e4630d36245b7c5fb2ce234218041.zip FreeBSD-src-bcb1f1f6f57e4630d36245b7c5fb2ce234218041.tar.gz |
Get rid of the sequential access feature of the lists. This was used
only in a couple of places and all of them except for one were easily
converted to use Lst_First/Lst_Succ. The one place is compatibility
mode in job.c where the it was used to advance to the next command on
each invocation of JobStart. For this case add a pointer to the node to
hold the currently executed command.
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r-- | usr.bin/make/make.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index bd894bd..a6a3b71 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -136,6 +136,9 @@ typedef struct GNode { Lst *context; /* The local variables */ Lst *commands; /* Creation commands */ + /* current command executing in compat mode */ + LstNode *compat_command; + struct _Suff *suffix; /* Suffix for the node (determined by * Suff_FindDeps and opaque to everyone * but the Suff module) */ |