X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_utils.h;h=68df2c44e13395612c48407b2063bf3ba075512a;hb=42f73fef5ef8722af83284e0f146b2da693a1f68;hp=620faabb5586b9460ed66fe82703bf83e19d5236;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_utils.h b/src/5gnrmac/mac_utils.h index 620faabb5..68df2c44e 100644 --- a/src/5gnrmac/mac_utils.h +++ b/src/5gnrmac/mac_utils.h @@ -30,7 +30,7 @@ (Data **)&_datPtr, _size); \ if(_ret == ROK) \ { \ - cmMemset((uint8_t *)_datPtr, 0, _size); \ + memset(_datPtr, 0, _size); \ } \ else \ { \ @@ -55,7 +55,7 @@ if(SGetStaticBuffer(MAC_MEM_REGION, MAC_POOL, \ (Data **)&_buf, (Size) _size, 0) == ROK) \ { \ - cmMemset((uint8_t *)(_buf), 0, _size); \ + memset((_buf), 0, _size); \ } \ else \ { \ @@ -128,6 +128,9 @@ pst.intfVer = 0; \ } +/* Function declaration */ +uint16_t getNewCrnti(uint8_t *crntiMap); + /********************************************************************** End of file **********************************************************************/