X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_hash.c;h=c8c6a58247dfe557dc076b084cbc70926cba4818;hb=05d098e6b94f629a932caaff404f2b703b123852;hp=61074e5179dc59d9440a53fa915f6b90619f49e2;hpb=514d4c21e79d37636005186dd9ac5510742b7618;p=o-du%2Fl2.git diff --git a/src/cm/cm_hash.c b/src/cm/cm_hash.c index 61074e517..c8c6a5824 100644 --- a/src/cm/cm_hash.c +++ b/src/cm/cm_hash.c @@ -81,23 +81,7 @@ *********************************************************************21*/ -/* header include files -- defines (.h) */ - -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ - -#include "gen.h" /* general */ -#include "ssi.h" /* system services */ -#include "cm_hash.h" /* common hash functions */ -#include "cm_err.h" /* common functions error */ - -/* header include -- typedef structs (.x) */ - -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ -#include "cm_lib.x" /* common library functions */ -#include "cm_hash.x" /* common hash functions */ +#include /* local defines */ @@ -826,11 +810,11 @@ Pool pool /* memory pool to allocate bins */ if (nmbBins) { #ifndef CM_MT_HASH_BIN - if (SGetSBuf(region, pool, (Data **) &hashListCp->hl, + if (SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,region, pool, (Data **) &hashListCp->hl, (Size) (nmbBins * sizeof(CmListEnt))) != ROK) return RFAILED; #else - if (SGetSBuf(region, pool, (Data **) &hashListCp->hl, + if (SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,region, pool, (Data **) &hashListCp->hl, (Size) (nmbBins * sizeof(CmListBinEnt))) != ROK) return RFAILED; #endif @@ -903,11 +887,11 @@ CmHashListCp *hashListCp /* hash list to deinitialize */ /* deallocate memory for bins */ if (hashListCp->nmbBins) #ifndef CM_MT_HASH_BIN - (Void) SPutSBuf(hashListCp->region, hashListCp->pool, + (Void) SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,hashListCp->region, hashListCp->pool, (Data *) hashListCp->hl, (Size) (hashListCp->nmbBins * sizeof(CmListEnt))); #else - (Void) SPutSBuf(hashListCp->region, hashListCp->pool, + (Void) SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,hashListCp->region, hashListCp->pool, (Data *) hashListCp->hl, (Size) (hashListCp->nmbBins * sizeof(CmListBinEnt))); #endif