diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-29 19:17:30 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-29 19:17:30 +0000 |
commit | 815bc92148939ce369585c59d3af730f69833844 (patch) | |
tree | 2787fe59d0c8b27c6a9cf18e65784cdbd925c9b1 /Src/module.c | |
parent | 026631ab818995ad480a9ea3e5a7ec243c645db1 (diff) | |
download | zsh-815bc92148939ce369585c59d3af730f69833844.tar.gz zsh-815bc92148939ce369585c59d3af730f69833844.tar.xz zsh-815bc92148939ce369585c59d3af730f69833844.zip |
a la 19209: zcalloc -> zshcalloc
Diffstat (limited to 'Src/module.c')
-rw-r--r-- | Src/module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/module.c b/Src/module.c index 2c2e9e0f0..1df8a03b6 100644 --- a/Src/module.c +++ b/Src/module.c @@ -226,7 +226,7 @@ mod_export LinkList modules; int add_autobin(char *nam, char *module) { - Builtin bn = zcalloc(sizeof(*bn)); + Builtin bn = zshcalloc(sizeof(*bn)); bn->nam = ztrdup(nam); bn->optstr = ztrdup(module); return addbuiltin(bn); @@ -770,7 +770,7 @@ load_module(char const *name) unqueue_signals(); return 0; } - m = zcalloc(sizeof(*m)); + m = zshcalloc(sizeof(*m)); m->nam = ztrdup(name); if (handle) { m->u.handle = handle; @@ -912,7 +912,7 @@ add_dep(const char *name, char *from) * *points* to a module with dependencies, of course.) */ if (!(node = find_module(name, 1, &name))) { - m = zcalloc(sizeof(*m)); + m = zshcalloc(sizeof(*m)); m->nam = ztrdup(name); zaddlinknode(modules, m); } else @@ -1099,7 +1099,7 @@ bin_zmodload_alias(char *nam, char **args, Options ops) } zsfree(m->u.alias); } else { - m = (Module) zcalloc(sizeof(*m)); + m = (Module) zshcalloc(sizeof(*m)); m->nam = ztrdup(*args); m->flags = MOD_ALIAS; zaddlinknode(modules, m); |