diff options
author | Paul Smith <psmith@gnu.org> | 2009-09-27 02:15:36 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-09-27 02:15:36 +0000 |
commit | 8688ef20cf5d541e7ca98919cc2d757fbfe1dd32 (patch) | |
tree | e78361ae6cb8cd6391c58ce7f3828ac5162f150a /dep.h | |
parent | 44ac2cdb4dc8481cff33101f95f94761c5aa74bc (diff) | |
download | make-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |