diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-28 16:52:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-28 16:52:17 +0000 |
commit | 40dcdf68a2368b0e889a6be5d7b6323101fcbe9f (patch) | |
tree | c0428f62747bfb85bf45a6aa2c30874b928bd235 /Src/Modules/parameter.c | |
parent | 0d78947de1c8480825836d76a6c6c36591e4b13e (diff) | |
download | zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.gz zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.xz zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.zip |
19209: Rename zcalloc to zshcalloc.
Diffstat (limited to 'Src/Modules/parameter.c')
-rw-r--r-- | Src/Modules/parameter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 6e19a377e..e023ca9fe 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -200,7 +200,7 @@ setpmcommand(Param pm, char *value) zwarn("restricted: %s", value, 0); zsfree(value); } else { - Cmdnam cn = zcalloc(sizeof(*cn)); + Cmdnam cn = zshcalloc(sizeof(*cn)); cn->flags = HASHED; cn->u.cmd = value; @@ -231,7 +231,7 @@ setpmcommands(Param pm, HashTable ht) for (i = 0; i < ht->hsize; i++) for (hn = ht->nodes[i]; hn; hn = hn->next) { - Cmdnam cn = zcalloc(sizeof(*cn)); + Cmdnam cn = zshcalloc(sizeof(*cn)); struct value v; v.isarr = v.inv = v.start = 0; @@ -1417,7 +1417,7 @@ setpmnameddir(Param pm, char *value) if (!value) zwarn("invalid value: ''", NULL, 0); else { - Nameddir nd = (Nameddir) zcalloc(sizeof(*nd)); + Nameddir nd = (Nameddir) zshcalloc(sizeof(*nd)); nd->flags = 0; nd->dir = value; @@ -1466,7 +1466,7 @@ setpmnameddirs(Param pm, HashTable ht) if (!(val = getstrvalue(&v))) zwarn("invalid value: ''", NULL, 0); else { - Nameddir nd = (Nameddir) zcalloc(sizeof(*nd)); + Nameddir nd = (Nameddir) zshcalloc(sizeof(*nd)); nd->flags = 0; nd->dir = ztrdup(val); |