Fix for O1 compilation issue.[Issue-Id: ODUHIGH-285]
[o-du/l2.git] / src / 5gnrrlc / kw_tmr.c
index e133325..76bfb93 100755 (executable)
@@ -86,7 +86,7 @@
 }
 
 /* private function declarations */
-PRIVATE Void rlcBndTmrExpiry(PTR cb);
+static Void rlcBndTmrExpiry(PTR cb);
 
 /**
  * @brief Handler to start timer
@@ -294,20 +294,9 @@ 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 */
-   TRC2(rlcTmrExpiry)
 
    switch (tmrEvnt)
    {
@@ -353,7 +342,7 @@ S16   tmrEvnt;
       }
    }
 
-   RETVOID;
+   return;
 }
 
 /**
@@ -417,20 +406,10 @@ 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; 
 
-   TRC2(rlcBndTmrExpiry)
-
    rguSapCb = (RlcRguSapCb *) cb;
 
    if (rguSapCb->state == RLC_SAP_BINDING)
@@ -471,7 +450,7 @@ PTR cb;
       }
    }
 
-   RETVOID;
+   return;
 }