X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frlog%2Frl_soc.c;h=5f27522768aff4e873275bf39a2927c29b8737d2;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=a0224184516271caed2ccba27aa2e440141fbecd;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/rlog/rl_soc.c b/src/rlog/rl_soc.c index a02241845..5f2752276 100644 --- a/src/rlog/rl_soc.c +++ b/src/rlog/rl_soc.c @@ -30,7 +30,7 @@ ************************************************************************/ #include "envopt.h" #include "envdep.h" - +#include"stdint.h" #include "rl_interface.h" #include "rl_rlog.h" #include "rl_platform.h" @@ -78,7 +78,7 @@ void rlInitL2SocSpecific(void) g_l2LogBufStartPtr = g_l2rlogBuf + sizeof(g_l2LogBufLen); #endif - RETVOID; + return; } ////////////////////////////////////////////////////////////////////////// @@ -107,7 +107,7 @@ void processL2LogBuff(void) l2rlogBuf_post = g_l2LogBufBasePtr; /* copy logBufferPointer for later use */ /* Set L2 Log Buffer length in first 4 bytes of flat buffer */ - *((U32*) g_l2LogBufBasePtr) = g_l2LogBufLen; /* Set L2 Log Buffer length in + *((uint32_t*) g_l2LogBufBasePtr) = g_l2LogBufLen; /* Set L2 Log Buffer length in first 4 bytes of flat buffer */ /* Re-setting pointer so that L2 will use this to write logs */ @@ -120,7 +120,7 @@ void processL2LogBuff(void) } #endif - RETVOID; + return; } ////////////////////////////////////////////////////////////////////////// @@ -136,13 +136,13 @@ void processL2LogBuff(void) void rlGetL2LogBufPtr ( void *mBuf, - U32 *logLen, + uint32_t *logLen, Data **logPtr ) { /* Get Buffer pointer and length */ *logPtr = ((Data *)mBuf) + sizeof(logLen); - *logLen = *((U32 *) mBuf); + *logLen = *((uint32_t *) mBuf); } ////////////////////////////////////////////////////////////////////////// @@ -157,10 +157,10 @@ void rlGetL2LogBufPtr void rlInvalidateL2LogsInCache ( Data *ptr, - U32 len + uint32_t len ) { - RETVOID; + return; } /**********************************************************************