Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Histogram
diff DblHist.c @ 16:f4d96eaf374a
updated for VMS name chgs from VMS__malloc to VMS_int__malloc
| author | Me@portablequad |
|---|---|
| date | Sun, 12 Feb 2012 01:45:40 -0800 |
| parents | 32489b8b763c |
| children | cd8275f62ee1 5d1597d9b24a |
line diff
1.1 --- a/DblHist.c Sat Feb 11 19:20:37 2012 -0800 1.2 +++ b/DblHist.c Sun Feb 12 01:45:40 2012 -0800 1.3 @@ -28,8 +28,8 @@ 1.4 DblHist *hist; 1.5 int i; 1.6 1.7 - hist = VMS__malloc( sizeof(DblHist) ); 1.8 - hist->bins = VMS__malloc( numBins * sizeof(int) ); 1.9 + hist = VMS_int__malloc( sizeof(DblHist) ); 1.10 + hist->bins = VMS_int__malloc( numBins * sizeof(int) ); 1.11 1.12 hist->numBins = numBins; 1.13 hist->binWidth = binWidth; 1.14 @@ -102,6 +102,6 @@ 1.15 void 1.16 freeDblHist( DblHist *hist ) 1.17 { 1.18 - VMS__free( hist->bins ); 1.19 - VMS__free( hist ); 1.20 + VMS_int__free( hist->bins ); 1.21 + VMS_int__free( hist ); 1.22 }
