remove/replaced PRIVATE and EXTERN keywords
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index a1da997..b3bf9a7 100755 (executable)
@@ -73,19 +73,17 @@ registered with SSI during the LTE MAC Task initialization.
  *  @return  void
  **/
 #ifdef ANSI
-PRIVATE INLINE void rgHdlSMEvents
+static inline void rgHdlSMEvents
 (
 Pst     *pst,                       /* post structure       */
 Buffer  *mBuf                       /* message buffer       */
 )
 #else
-PRIVATE INLINE void rgHdlSMEvents(pst, mBuf)
+static inline void rgHdlSMEvents(pst, mBuf)
 Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlSMEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGMILRG
@@ -115,21 +113,25 @@ Buffer  *mBuf;                      /* message buffer       */
          unpackDuMacCellCfg(MacProcCellCfgReq, pst, mBuf);
          break;
       case EVENT_MAC_CELL_START_REQ:
-         /* Process MAC cell start request */
-         unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
-         break;
-               case EVENT_MAC_CELL_STOP_REQ:
-                       /* Process MAC cell stop request */
-                       unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
-                       break;
-               case EVENT_MAC_DL_CCCH_IND:
-                       /* Process DL CCCH Ind */
-                       unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
-                       break;
-               case EVENT_MAC_UE_CREATE_REQ:
-                  /* Process Ue Create Request */
-                       unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
-                       break;
+        /* Process MAC cell start request */
+        unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
+        break;
+      case EVENT_MAC_CELL_STOP_REQ:
+        /* Process MAC cell stop request */
+        unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
+        break;
+      case EVENT_MAC_DL_CCCH_IND:
+        /* Process DL CCCH Ind */
+        unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
+        break;
+      case EVENT_MAC_UE_CREATE_REQ:
+        /* Process Ue Create Request */
+        unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
+        break;
+      case EVENT_MAC_UE_RECONFIG_REQ:
+        /* Process Ue Reconfig Request */
+        unpackMacUeReconfigReq(MacProcUeReconfigReq, pst, mBuf);
+        break;
       default:
          RG_FREE_MSG(mBuf);
          break;
@@ -152,19 +154,17 @@ Buffer  *mBuf;                      /* message buffer       */
  *  @return  void
  **/
 #ifdef ANSI
-PRIVATE INLINE void rgHdlNHEvents
+static inline void rgHdlNHEvents
 (
 Pst     *pst,                       /* post structure       */
 Buffer  *mBuf                       /* message buffer       */
 )
 #else
-PRIVATE INLINE void rgHdlNHEvents(pst, mBuf)
+static inline void rgHdlNHEvents(pst, mBuf)
 Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlNHEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGUICRG
@@ -199,19 +199,17 @@ Buffer  *mBuf;                      /* message buffer       */
  *  @return  void
  **/
 #ifdef ANSI
-PRIVATE INLINE void rgHdlKWEvents
+static inline void rgHdlKWEvents
 (
 Pst     *pst,                       /* post structure       */
 Buffer  *mBuf                       /* message buffer       */
 )
 #else
-PRIVATE INLINE void rgHdlKWEvents(pst, mBuf)
+static inline void rgHdlKWEvents(pst, mBuf)
 Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlKWEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGUIRGU
@@ -256,19 +254,17 @@ Buffer  *mBuf;                      /* message buffer       */
  *  @return  void
  **/
 #ifdef ANSI
-PRIVATE INLINE void rgHdlTFEvents
+static inline void rgHdlTFEvents
 (
 Pst     *pst,                       /* post structure       */
 Buffer  *mBuf                       /* message buffer       */
 )
 #else
-PRIVATE INLINE void rgHdlTFEvents(pst, mBuf)
+static inline void rgHdlTFEvents(pst, mBuf)
 Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlTFEvents)
-
    switch(pst->event)
    {
 #if  (defined(LCRGLITFU) || defined(LWLCRGLITFU))
@@ -306,19 +302,17 @@ Buffer  *mBuf;                      /* message buffer       */
  *  @return  void
  **/
 #ifdef ANSI
-PRIVATE INLINE void rgHdlRGEvents
+static inline void rgHdlRGEvents
 (
 Pst     *pst,                       /* post structure       */
 Buffer  *mBuf                       /* message buffer       */
 )
 #else
-PRIVATE INLINE void rgHdlRGEvents(pst, mBuf)
+static inline void rgHdlRGEvents(pst, mBuf)
 Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlRGEvents)
-
    switch(pst->event)
    {
 #ifdef LCRG
@@ -443,8 +437,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgActvTsk)
-
    switch(pst->srcEnt)
    {
       /* The originator of this message is the stack manager,