X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_tmr.c;h=76bfb933990409b75aed9d9784dfa6cd4f753bea;hb=95fc4329bde1b6a06b00f94bd0eeab8bc5ba7295;hp=19465d25992ca2bb5a582070e6d45109bd9fb081;hpb=9c8b78da0f4ef42dae5e30a3061463b81327e7a0;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_tmr.c b/src/5gnrrlc/kw_tmr.c index 19465d259..76bfb9339 100755 --- a/src/5gnrrlc/kw_tmr.c +++ b/src/5gnrrlc/kw_tmr.c @@ -86,7 +86,7 @@ } /* private function declarations */ -PRIVATE Void rlcBndTmrExpiry(PTR cb); +static Void rlcBndTmrExpiry(PTR cb); /** * @brief Handler to start timer @@ -294,17 +294,7 @@ void rlcStopTmr(RlcCb *gCb, PTR cb, uint8_t tmrType) * * @return Void */ -#ifdef ANSI -Void rlcTmrExpiry -( -PTR cb, -S16 tmrEvnt -) -#else -Void rlcTmrExpiry (cb, tmrEvnt) -PTR cb; -S16 tmrEvnt; -#endif +Void rlcTmrExpiry(PTR cb,S16 tmrEvnt) { /* kw005.201 added support for L2 Measurement */ @@ -352,7 +342,7 @@ S16 tmrEvnt; } } - RETVOID; + return; } /** @@ -416,15 +406,7 @@ bool rlcChkTmr(RlcCb *gCb, PTR cb, int16_t tmrEvnt) * * @return Void */ -#ifdef ANSI -PRIVATE Void rlcBndTmrExpiry -( -PTR cb -) -#else -PRIVATE Void rlcBndTmrExpiry(cb) -PTR cb; -#endif +static Void rlcBndTmrExpiry(PTR cb) { RlcRguSapCb *rguSapCb; @@ -468,7 +450,7 @@ PTR cb; } } - RETVOID; + return; }