# HG changeset patch # User Me@portablequad # Date 1329039940 28800 # Node ID f4d96eaf374a9473c4b07929488ee4fb0e15ecf7 # Parent 32489b8b763ce3d9cb0bb2c3992289d7dce2dfeb updated for VMS name chgs from VMS__malloc to VMS_int__malloc diff -r 32489b8b763c -r f4d96eaf374a DblHist.c --- a/DblHist.c Sat Feb 11 19:20:37 2012 -0800 +++ b/DblHist.c Sun Feb 12 01:45:40 2012 -0800 @@ -28,8 +28,8 @@ DblHist *hist; int i; - hist = VMS__malloc( sizeof(DblHist) ); - hist->bins = VMS__malloc( numBins * sizeof(int) ); + hist = VMS_int__malloc( sizeof(DblHist) ); + hist->bins = VMS_int__malloc( numBins * sizeof(int) ); hist->numBins = numBins; hist->binWidth = binWidth; @@ -102,6 +102,6 @@ void freeDblHist( DblHist *hist ) { - VMS__free( hist->bins ); - VMS__free( hist ); + VMS_int__free( hist->bins ); + VMS_int__free( hist ); } diff -r 32489b8b763c -r f4d96eaf374a FloatHist.c --- a/FloatHist.c Sat Feb 11 19:20:37 2012 -0800 +++ b/FloatHist.c Sun Feb 12 01:45:40 2012 -0800 @@ -26,8 +26,8 @@ FloatHist *hist; int i; - hist = VMS__malloc( sizeof(FloatHist) ); - hist->bins = VMS__malloc( numBins * sizeof(int) ); + hist = VMS_int__malloc( sizeof(FloatHist) ); + hist->bins = VMS_int__malloc( numBins * sizeof(int) ); hist->numBins = numBins; hist->binWidth = binWidth; @@ -100,6 +100,6 @@ void freeFloatHist( FloatHist *hist ) { - VMS__free( hist->bins ); - VMS__free( hist ); + VMS_int__free( hist->bins ); + VMS_int__free( hist ); } diff -r 32489b8b763c -r f4d96eaf374a Histogram.c --- a/Histogram.c Sat Feb 11 19:20:37 2012 -0800 +++ b/Histogram.c Sun Feb 12 01:45:40 2012 -0800 @@ -29,14 +29,13 @@ Histogram * makeHistogram( int32 numBins, int32 startOfRange, int32 endOfRange ) - { Histogram *hist; int32 i; - hist = VMS__malloc( sizeof(Histogram) ); - hist->bins = VMS__malloc( numBins * sizeof(int32) ); + hist = VMS_int__malloc( sizeof(Histogram) ); + hist->bins = VMS_int__malloc( numBins * sizeof(int32) ); hist->numBins = numBins; hist->binWidth = (endOfRange - startOfRange) / numBins; @@ -72,10 +71,10 @@ { Histogram *hist; - hist = VMS__malloc( sizeof(Histogram) ); - hist->bins = VMS__malloc( numBins * sizeof(int32) ); + hist = VMS_int__malloc( sizeof(Histogram) ); + hist->bins = VMS_int__malloc( numBins * sizeof(int32) ); - makeHist_helper( hist, numBins, startOfRange, binWidth,VMS__strDup(name)); + makeHist_helper( hist, numBins, startOfRange, binWidth,VMS_int__strDup(name)); return hist; } @@ -346,9 +345,9 @@ void freeHist( Histogram *hist ) { - VMS__free( hist->bins ); - VMS__free( hist->name ); - VMS__free( hist ); + VMS_int__free( hist->bins ); + VMS_int__free( hist->name ); + VMS_int__free( hist ); } void freeHistExt( Histogram *hist )