From 22886f8a74b5925030889fed52af5a8add5617d7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Mar 2006 14:24:20 +0000 Subject: Fixed Savannah bug #16053. --- dep.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dep.h') diff --git a/dep.h b/dep.h index aafadb2..f0923cc 100644 --- a/dep.h +++ b/dep.h @@ -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)); -- cgit v1.2.3