summaryrefslogtreecommitdiff
path: root/dep.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-09-27 02:15:36 +0000
committerPaul Smith <psmith@gnu.org>2009-09-27 02:15:36 +0000
commit8688ef20cf5d541e7ca98919cc2d757fbfe1dd32 (patch)
treee78361ae6cb8cd6391c58ce7f3828ac5162f150a /dep.h
parent44ac2cdb4dc8481cff33101f95f94761c5aa74bc (diff)
downloadmake-8688ef20cf5d541e7ca98919cc2d757fbfe1dd32.tar.gz
- Add static pattern targets to the string cache.
- Use specific free_*() calls where appropriate.
Diffstat (limited to 'dep.h')
-rw-r--r--dep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dep.h b/dep.h
index eda0211..305fb89 100644
--- a/dep.h
+++ b/dep.h
@@ -80,7 +80,8 @@ struct nameseq *ar_glob (const char *arname, const char *member_pattern, unsigne
#define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
#define alloc_dep() (xcalloc (sizeof (struct dep)))
-#define free_dep(_d) free (_d)
+#define free_ns(_n) free (_n)
+#define free_dep(_d) free_ns (_d)
struct dep *copy_dep_chain (const struct dep *d);
void free_dep_chain (struct dep *d);