diff options
author | Boris Kolpackov <boris@kolpackov.net> | 2006-03-17 14:24:20 +0000 |
---|---|---|
committer | Boris Kolpackov <boris@kolpackov.net> | 2006-03-17 14:24:20 +0000 |
commit | 22886f8a74b5925030889fed52af5a8add5617d7 (patch) | |
tree | c28340c4ca8f7956e259f671b3202b6bf0874a35 /dep.h | |
parent | 50eb3cf5e5a8a68b68e966a6607f668f2c36191e (diff) | |
download | gunmake-22886f8a74b5925030889fed52af5a8add5617d7.tar.gz |
Fixed Savannah bug #16053.
Diffstat (limited to 'dep.h')
-rw-r--r-- | dep.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,7 +28,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Structure representing one dependency of a file. Each struct file's `deps' points to a chain of these, - chained through the `next'. + chained through the `next'. `stem' is the stem for this + dep line of static pattern rule or NULL. Note that the first two words of this match a struct nameseq. */ @@ -36,6 +37,7 @@ struct dep { struct dep *next; char *name; + char *stem; struct file *file; unsigned int changed : 8; unsigned int ignore_mtime : 1; @@ -72,6 +74,8 @@ extern struct nameseq *ar_glob PARAMS ((char *arname, char *member_pattern, unsi extern char *dep_name (); #endif +extern struct dep *alloc_dep PARAMS ((void)); +extern void free_dep PARAMS ((struct dep *d)); extern struct dep *copy_dep_chain PARAMS ((const struct dep *d)); extern void free_dep_chain PARAMS ((struct dep *d)); extern void free_ns_chain PARAMS ((struct nameseq *n)); |