summaryrefslogtreecommitdiff
path: root/dep.h
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2006-03-17 14:24:20 +0000
committerBoris Kolpackov <boris@kolpackov.net>2006-03-17 14:24:20 +0000
commit22886f8a74b5925030889fed52af5a8add5617d7 (patch)
treec28340c4ca8f7956e259f671b3202b6bf0874a35 /dep.h
parent50eb3cf5e5a8a68b68e966a6607f668f2c36191e (diff)
downloadgunmake-22886f8a74b5925030889fed52af5a8add5617d7.tar.gz
Fixed Savannah bug #16053.
Diffstat (limited to 'dep.h')
-rw-r--r--dep.h6
1 files changed, 5 insertions, 1 deletions
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));