about summary refs log tree commit diff
path: root/Src/hist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-10-28 16:52:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-10-28 16:52:17 +0000
commit40dcdf68a2368b0e889a6be5d7b6323101fcbe9f (patch)
treec0428f62747bfb85bf45a6aa2c30874b928bd235 /Src/hist.c
parent0d78947de1c8480825836d76a6c6c36591e4b13e (diff)
downloadzsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.gz
zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.xz
zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.zip
19209: Rename zcalloc to zshcalloc.
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/hist.c b/Src/hist.c
index 57e429a7d..e40007049 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -771,7 +771,7 @@ hbegin(int dohist)
 	hwend = nohwe;
 	addtoline = nohw;
     } else {
-	chline = hptr = zcalloc(hlinesz = 64);
+	chline = hptr = zshcalloc(hlinesz = 64);
 	chwords = zalloc((chwordlen = 64) * sizeof(short));
 	hgetc = ihgetc;
 	hungetc = ihungetc;
@@ -933,7 +933,7 @@ prepnexthistent(void)
     }
 
     if (histlinect < histsiz) {
-	he = (Histent)zcalloc(sizeof *he);
+	he = (Histent)zshcalloc(sizeof *he);
 	if (!hist_ring)
 	    hist_ring = he->up = he->down = he;
 	else {